#C87BF6#C87BF6
#C87BF6 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.187 H 311.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C87BF6 |
|---|---|
| RGB | rgb(200, 123, 246) |
| HSL | hsl(278, 87%, 72%) |
| HSV | hsv(278, 50%, 96%) |
| CMYK | cmyk(18.7%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.24, 51.01, -50.08) |
| CIE-LCH | lch(64.24, 71.48, 315.53°) |
| OKLab | oklab(71.3% 0.1234 -0.1398) |
| OKLCH | oklch(71.3% 0.187 311.4) |
| XYZ | xyz(47.5340, 33.1001, 91.0558) |
| Luminance | 0.3310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.98
Easter Purple
#C071FE
ΔE00 3.26
Liliac
#C48EFD
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 4.98
Bright Lavender
#C760FF
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87BF6 #A9F67B
analogous
#8B7BF6 #C87BF6 #F67BE6
triadic
#C87BF6 #F6C87B #7BF6C8
tetradic
#C87BF6 #F68B7B #A9F67B #7BE6F6
square
#C87BF6 #F68B7B #A9F67B #7BE6F6
split-complementary
#C87BF6 #E6F67B #7BF68B
monochromatic
#9610E7 #B042F2 #C87BF6 #E0B4FA #F3E2FD
Accessibility & contrast
On white
2.76
#C87BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#C87BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87BF6
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87BF6 | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C38FAD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c87bf6; /* rgb */ color: rgb(200, 123, 246); /* oklch */ color: oklch(71.3% 0.187 311.4);
Tailwind
colors: {
custom: {
50: '#dba3f9',
500: '#c87bf6',
950: '#000000',
},
}SCSS
$custom: #c87bf6; $custom-light: #dba3f9; $custom-dark: #000000;
JSON
{
"hex": "#c87bf6",
"rgb": {
"r": 200,
"g": 123,
"b": 246
},
"hsl": {
"h": 277.561,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71296,
"c": 0.18652,
"h": 311.4
},
"luminance": 0.33099
}Semantic roles & 50–950 ramp
primary
#C87BF6
secondary
#E2F5D6
accent
#E40256
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85