#C87EEE#C87EEE
#C87EEE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.173 H 313.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C87EEE |
|---|---|
| RGB | rgb(200, 126, 238) |
| HSL | hsl(280, 77%, 71%) |
| HSV | hsv(280, 47%, 93%) |
| CMYK | cmyk(16%, 47.1%, 0%, 6.7%) |
| CIE-LAB | lab(64.46, 47.75, -45.32) |
| CIE-LCH | lch(64.46, 65.83, 316.50°) |
| OKLab | oklab(71.33% 0.1185 -0.126) |
| OKLCH | oklch(71.33% 0.173 313.2) |
| XYZ | xyz(46.7103, 33.3752, 84.8538) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.13
Liliac
#C48EFD
ΔE00 4.64
Easter Purple
#C071FE
ΔE00 4.64
Light Urple
#B36FF6
ΔE00 6.00
Orchid
#DA70D6
ΔE00 6.62
Bright Lavender
#C760FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87EEE #A4EE7E
analogous
#907EEE #C87EEE #EE7EDC
triadic
#C87EEE #EEC87E #7EEEC8
tetradic
#C87EEE #EE907E #A4EE7E #7EDCEE
square
#C87EEE #EE907E #A4EE7E #7EDCEE
split-complementary
#C87EEE #DCEE7E #7EEE90
monochromatic
#971CD5 #B148E7 #C87EEE #DFB4F5 #F3E4FB
Accessibility & contrast
On white
2.74
#C87EEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#C87EEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87EEE
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87EEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87EEE | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#C58FAB
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c87eee; /* rgb */ color: rgb(200, 126, 238); /* oklch */ color: oklch(71.3% 0.173 313.2);
Tailwind
colors: {
custom: {
50: '#dba5f4',
500: '#c87eee',
950: '#000000',
},
}SCSS
$custom: #c87eee; $custom-light: #dba5f4; $custom-dark: #000000;
JSON
{
"hex": "#c87eee",
"rgb": {
"r": 200,
"g": 126,
"b": 238
},
"hsl": {
"h": 279.643,
"s": 76.712,
"l": 71.373
},
"oklch": {
"l": 0.71334,
"c": 0.17296,
"h": 313.2
},
"luminance": 0.33374
}Semantic roles & 50–950 ramp
primary
#C87EEE
secondary
#DFF2D5
accent
#D90D52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85