#C87FEE#C87FEE
#C87FEE is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.5% C 0.171 H 313.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C87FEE |
|---|---|
| RGB | rgb(200, 127, 238) |
| HSL | hsl(279, 77%, 72%) |
| HSV | hsv(279, 47%, 93%) |
| CMYK | cmyk(16%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(64.67, 47.22, -44.99) |
| CIE-LCH | lch(64.67, 65.23, 316.38°) |
| OKLab | oklab(71.49% 0.1171 -0.1251) |
| OKLCH | oklch(71.49% 0.171 313.1) |
| XYZ | xyz(46.8388, 33.6322, 84.8966) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.28
Liliac
#C48EFD
ΔE00 4.46
Easter Purple
#C071FE
ΔE00 4.81
Light Urple
#B36FF6
ΔE00 6.16
Orchid
#DA70D6
ΔE00 6.70
Baby Purple
#CA9BF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87FEE #A5EE7F
analogous
#917FEE #C87FEE #EE7FDD
triadic
#C87FEE #EEC87F #7FEEC8
tetradic
#C87FEE #EE917F #A5EE7F #7FDDEE
square
#C87FEE #EE917F #A5EE7F #7FDDEE
split-complementary
#C87FEE #DDEE7F #7FEE91
monochromatic
#971CD6 #B149E7 #C87FEE #DFB5F5 #F3E4FB
Accessibility & contrast
On white
2.72
#C87FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#C87FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87FEE
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87FEE | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C590AB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87fee; /* rgb */ color: rgb(200, 127, 238); /* oklch */ color: oklch(71.5% 0.171 313.1);
Tailwind
colors: {
custom: {
50: '#dba6f4',
500: '#c87fee',
950: '#000000',
},
}SCSS
$custom: #c87fee; $custom-light: #dba6f4; $custom-dark: #000000;
JSON
{
"hex": "#c87fee",
"rgb": {
"r": 200,
"g": 127,
"b": 238
},
"hsl": {
"h": 279.459,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.71488,
"c": 0.17135,
"h": 313.1
},
"luminance": 0.33631
}Semantic roles & 50–950 ramp
primary
#C87FEE
secondary
#E0F3D6
accent
#D90D53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85