#C87EF3#C87EF3
#C87EF3 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.6% C 0.178 H 311.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C87EF3 |
|---|---|
| RGB | rgb(200, 126, 243) |
| HSL | hsl(278, 83%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.7%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(64.70, 48.81, -47.70) |
| CIE-LCH | lch(64.70, 68.24, 315.66°) |
| OKLab | oklab(71.59% 0.1191 -0.133) |
| OKLCH | oklch(71.59% 0.178 311.9) |
| XYZ | xyz(47.4551, 33.6731, 88.7763) |
| Luminance | 0.3367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.62
Easter Purple
#C071FE
ΔE00 4.08
Liliac
#C48EFD
ΔE00 4.25
Light Urple
#B36FF6
ΔE00 5.61
Bright Lavender
#C760FF
ΔE00 6.54
Bright Lilac
#C95EFB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87EF3 #A9F37E
analogous
#8E7EF3 #C87EF3 #F37EE3
triadic
#C87EF3 #F3C87E #7EF3C8
tetradic
#C87EF3 #F38E7E #A9F37E #7EE3F3
square
#C87EF3 #F38E7E #A9F37E #7EE3F3
split-complementary
#C87EF3 #E3F37E #7EF38E
monochromatic
#9615E2 #B046EE #C87EF3 #E0B6F8 #F3E3FC
Accessibility & contrast
On white
2.72
#C87EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#C87EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87EF3
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87EF3 | 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)
#6399F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#C491AD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87ef3; /* rgb */ color: rgb(200, 126, 243); /* oklch */ color: oklch(71.6% 0.178 311.9);
Tailwind
colors: {
custom: {
50: '#dba5f7',
500: '#c87ef3',
950: '#000000',
},
}SCSS
$custom: #c87ef3; $custom-light: #dba5f7; $custom-dark: #000000;
JSON
{
"hex": "#c87ef3",
"rgb": {
"r": 200,
"g": 126,
"b": 243
},
"hsl": {
"h": 277.949,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.7159,
"c": 0.17848,
"h": 311.9
},
"luminance": 0.33672
}Semantic roles & 50–950 ramp
primary
#C87EF3
secondary
#E2F4D7
accent
#DF0656
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85