#B866CE#B866CE
#B866CE is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.3% C 0.171 H 318.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B866CE |
|---|---|
| RGB | rgb(184, 102, 206) |
| HSL | hsl(287, 51%, 60%) |
| HSV | hsv(287, 50%, 81%) |
| CMYK | cmyk(10.7%, 50.5%, 0%, 19.2%) |
| CIE-LAB | lab(56.24, 49.24, -40.47) |
| CIE-LCH | lch(56.24, 63.74, 320.58°) |
| OKLab | oklab(64.32% 0.1283 -0.1122) |
| OKLCH | oklch(64.32% 0.171 318.8) |
| XYZ | xyz(35.6576, 24.1506, 61.1638) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.81
Soft Purple
#A66FB5
ΔE00 5.80
Pinkish Purple
#D648D7
ΔE00 6.23
Amethyst
#9B5FC0
ΔE00 6.32
Pinky Purple
#C94CBE
ΔE00 6.37
Orchid (survey)
#C875C4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B866CE #7CCE66
analogous
#8466CE #B866CE #CE66B0
triadic
#B866CE #CEB866 #66CEB8
tetradic
#B866CE #CE8466 #7CCE66 #66B0CE
square
#B866CE #CE8466 #7CCE66 #66B0CE
split-complementary
#B866CE #B0CE66 #66CE84
monochromatic
#782D8D #A03CBB #B866CE #CE94DD #E3C3EC
Accessibility & contrast
On white
3.60
#B866CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#B866CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B866CE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B866CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B866CE | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5381D2
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#B87591
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #b866ce; /* rgb */ color: rgb(184, 102, 206); /* oklch */ color: oklch(64.3% 0.171 318.8);
Tailwind
colors: {
custom: {
50: '#cf94dd',
500: '#b866ce',
950: '#000000',
},
}SCSS
$custom: #b866ce; $custom-light: #cf94dd; $custom-dark: #000000;
JSON
{
"hex": "#b866ce",
"rgb": {
"r": 184,
"g": 102,
"b": 206
},
"hsl": {
"h": 287.308,
"s": 51.485,
"l": 60.392
},
"oklch": {
"l": 0.64324,
"c": 0.1705,
"h": 318.8
},
"luminance": 0.24149
}Semantic roles & 50–950 ramp
primary
#B866CE
secondary
#BCDCB4
accent
#BF2747
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83