#C87FEC#C87FEC
#C87FEC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.169 H 313.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C87FEC |
|---|---|
| RGB | rgb(200, 127, 236) |
| HSL | hsl(280, 74%, 71%) |
| HSV | hsv(280, 46%, 93%) |
| CMYK | cmyk(15.3%, 46.2%, 0%, 7.5%) |
| CIE-LAB | lab(64.58, 46.80, -44.04) |
| CIE-LCH | lch(64.58, 64.26, 316.74°) |
| OKLab | oklab(71.39% 0.1168 -0.1223) |
| OKLCH | oklch(71.39% 0.169 313.7) |
| XYZ | xyz(46.5466, 33.5153, 83.3577) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.52
Liliac
#C48EFD
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 5.06
Light Urple
#B36FF6
ΔE00 6.35
Orchid
#DA70D6
ΔE00 6.45
Baby Purple
#CA9BF7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87FEC #A3EC7F
analogous
#917FEC #C87FEC #EC7FDA
triadic
#C87FEC #ECC87F #7FECC8
tetradic
#C87FEC #EC917F #A3EC7F #7FDAEC
square
#C87FEC #EC917F #A3EC7F #7FDAEC
split-complementary
#C87FEC #DAEC7F #7FEC91
monochromatic
#971FD2 #B14AE4 #C87FEC #DFB4F4 #F4E4FB
Accessibility & contrast
On white
2.73
#C87FEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#C87FEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87FEC
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87FEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87FEC | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#7D9EE9
Tritanopia (blue-blind)
#C58FAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87fec; /* rgb */ color: rgb(200, 127, 236); /* oklch */ color: oklch(71.4% 0.169 313.7);
Tailwind
colors: {
custom: {
50: '#dba6f2',
500: '#c87fec',
950: '#000000',
},
}SCSS
$custom: #c87fec; $custom-light: #dba6f2; $custom-dark: #000000;
JSON
{
"hex": "#c87fec",
"rgb": {
"r": 200,
"g": 127,
"b": 236
},
"hsl": {
"h": 280.183,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.71388,
"c": 0.16914,
"h": 313.7
},
"luminance": 0.33514
}Semantic roles & 50–950 ramp
primary
#C87FEC
secondary
#DFF2D5
accent
#D60F51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85