#B87ECC#B87ECC
#B87ECC is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.0% C 0.128 H 317.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B87ECC |
|---|---|
| RGB | rgb(184, 126, 204) |
| HSL | hsl(285, 43%, 65%) |
| HSV | hsv(285, 38%, 80%) |
| CMYK | cmyk(9.8%, 38.2%, 0%, 20%) |
| CIE-LAB | lab(61.20, 36.00, -31.59) |
| CIE-LCH | lch(61.20, 47.90, 318.73°) |
| OKLab | oklab(68% 0.0936 -0.0869) |
| OKLCH | oklch(68% 0.128 317.1) |
| XYZ | xyz(38.1255, 29.4727, 60.7955) |
| Luminance | 0.2947 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.38
Orchid (survey)
#C875C4
ΔE00 4.62
Pale Purple
#B790D4
ΔE00 5.19
Soft Purple
#A66FB5
ΔE00 5.87
Orchid
#DA70D6
ΔE00 6.83
Lavender Pink
#DD85D7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87ECC #92CC7E
analogous
#917ECC #B87ECC #CC7EB9
triadic
#B87ECC #CCB87E #7ECCB8
tetradic
#B87ECC #CC917E #92CC7E #7EB9CC
square
#B87ECC #CC917E #92CC7E #7EB9CC
split-complementary
#B87ECC #B9CC7E #7ECC91
monochromatic
#7E3B95 #A052BB #B87ECC #D0AADD #E8D6EF
Accessibility & contrast
On white
3.05
#B87ECC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#B87ECC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B87ECC
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87ECC | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B8889B
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b87ecc; /* rgb */ color: rgb(184, 126, 204); /* oklch */ color: oklch(68.0% 0.128 317.1);
Tailwind
colors: {
custom: {
50: '#cea4dc',
500: '#b87ecc',
950: '#000000',
},
}SCSS
$custom: #b87ecc; $custom-light: #cea4dc; $custom-dark: #000000;
JSON
{
"hex": "#b87ecc",
"rgb": {
"r": 184,
"g": 126,
"b": 204
},
"hsl": {
"h": 284.615,
"s": 43.333,
"l": 64.706
},
"oklch": {
"l": 0.67998,
"c": 0.12768,
"h": 317.1
},
"luminance": 0.29472
}Semantic roles & 50–950 ramp
primary
#B87ECC
secondary
#CCE0C6
accent
#B62F52
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83