Accessibility
Vs white / black
4.82:1 · 4.36:1
Sources
Codes
HEX
#bb2dcc
RGB
rgb(187, 45, 204)
RGBA
rgba(187, 45, 204, 1)
HSL
hsl(294, 64%, 49%)
HSLA
hsla(294, 64%, 49%, 1)
HSV
hsv(294, 78%, 80%)
LAB
lab(48.01% 73.12 -52.37)
LCH
lch(48.01% 89.94 324.39)
OKLAB
oklab(0.5841 0.1953 -0.1464)
OKLCH
oklch(0.5841 0.2441 323.14)
XYZ
xyz(32.33, 16.80, 58.66)
CMYK
cmyk(8%, 78%, 0%, 20%)
CSS
color: #bb2dcc;
CSS variable
--color-bb2dcc: #bb2dcc;
SCSS
$color-bb2dcc: #bb2dcc;
JavaScript
const color = "#bb2dcc";
TypeScript
const color: string = "#bb2dcc";
React
style={{ backgroundColor: "#bb2dcc" }}
JSON
{ "hex": "#bb2dcc", "rgb": { "r": 187, "g": 45, "b": 204 }, "oklch": "oklch(0.5841 0.2441 323.14)" }
Export
:root {
--#bb2dcc-1: #bb2dcc;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
fuchsia-600
Similar · ΔE 1.13 · #C026D3
Nearest CSS named color
DarkOrchid
Very different · ΔE 6.42 · #9932CC
Nearest Material color
purple-400
Noticeably different · ΔE 3.98 · #AB47BC
Nearest Bootstrap color
secondary
Very different · ΔE 19.64 · #6C757D
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#BB2DCC (#bb2dcc) sits in the purple family at about 294° hue, 64% saturation, and 49% lightness. Contrast is 4.82:1 on white and 4.36:1 on black, so white labels read more clearly on the swatch itself. Nearest Tailwind token: fuchsia-600 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
On a black or near-black UI, #bb2dcc is 4.36:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Imagination, luxury, and wisdom. Frequently used for premium, creative, and tech brands. Common uses still include buttons, charts, and accents in the Purple range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance