#C87EFD#C87EFD
#C87EFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.190 H 309.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C87EFD |
|---|---|
| RGB | rgb(200, 126, 253) |
| HSL | hsl(275, 97%, 74%) |
| HSV | hsv(275, 50%, 99%) |
| CMYK | cmyk(20.9%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.19, 50.96, -52.42) |
| CIE-LCH | lch(65.19, 73.10, 314.19°) |
| OKLab | oklab(72.12% 0.1202 -0.1467) |
| OKLCH | oklch(72.12% 0.19 309.3) |
| XYZ | xyz(49.0065, 34.2937, 96.9471) |
| Luminance | 0.3429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 3.36
Liliac
#C48EFD
ΔE00 3.91
Light Urple
#B36FF6
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 6.18
Bright Lilac
#C95EFB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87EFD #B3FD7E
analogous
#897EFD #C87EFD #FD7EF2
triadic
#C87EFD #FDC87E #7EFDC8
tetradic
#C87EFD #FD897E #B3FD7E #7EF2FD
square
#C87EFD #FD897E #B3FD7E #7EF2FD
split-complementary
#C87EFD #F2FD7E #7EFD89
monochromatic
#9505FB #AE42FC #C87EFD #E2BAFE #F2E1FF
Accessibility & contrast
On white
2.67
#C87EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#C87EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87EFD
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87EFD | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#729FFA
Tritanopia (blue-blind)
#C193B2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c87efd; /* rgb */ color: rgb(200, 126, 253); /* oklch */ color: oklch(72.1% 0.190 309.3);
Tailwind
colors: {
custom: {
50: '#dba5fe',
500: '#c87efd',
950: '#000000',
},
}SCSS
$custom: #c87efd; $custom-light: #dba5fe; $custom-dark: #000000;
JSON
{
"hex": "#c87efd",
"rgb": {
"r": 200,
"g": 126,
"b": 253
},
"hsl": {
"h": 274.961,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72116,
"c": 0.1896,
"h": 309.3
},
"luminance": 0.34293
}Semantic roles & 50–950 ramp
primary
#C87EFD
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86