#C87AFE#C87AFE
#C87AFE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.197 H 309.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C87AFE |
|---|---|
| RGB | rgb(200, 122, 254) |
| HSL | hsl(275, 99%, 74%) |
| HSV | hsv(275, 52%, 100%) |
| CMYK | cmyk(21.3%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(64.45, 53.25, -54.15) |
| CIE-LCH | lch(64.45, 75.94, 314.52°) |
| OKLab | oklab(71.58% 0.1254 -0.1517) |
| OKLCH | oklch(71.58% 0.197 309.6) |
| XYZ | xyz(48.6649, 33.3550, 97.6212) |
| Luminance | 0.3335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.84
Easter Purple
#C071FE
ΔE00 2.56
Light Urple
#B36FF6
ΔE00 4.60
Liliac
#C48EFD
ΔE00 4.78
Bright Lavender
#C760FF
ΔE00 5.29
Bright Lilac
#C95EFB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87AFE #B0FE7A
analogous
#867AFE #C87AFE #FE7AF2
triadic
#C87AFE #FEC87A #7AFEC8
tetradic
#C87AFE #FE867A #B0FE7A #7AF2FE
square
#C87AFE #FE867A #B0FE7A #7AF2FE
split-complementary
#C87AFE #F2FE7A #7AFE86
monochromatic
#9602FC #AF3DFE #C87AFE #E1B7FE #F2E1FF
Accessibility & contrast
On white
2.74
#C87AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#C87AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87AFE
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87AFE | 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)
#5599FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#C191B1
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c87afe; /* rgb */ color: rgb(200, 122, 254); /* oklch */ color: oklch(71.6% 0.197 309.6);
Tailwind
colors: {
custom: {
50: '#dba3ff',
500: '#c87afe',
950: '#000000',
},
}SCSS
$custom: #c87afe; $custom-light: #dba3ff; $custom-dark: #000000;
JSON
{
"hex": "#c87afe",
"rgb": {
"r": 200,
"g": 122,
"b": 254
},
"hsl": {
"h": 275.455,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.71579,
"c": 0.19685,
"h": 309.6
},
"luminance": 0.33354
}Semantic roles & 50–950 ramp
primary
#C87AFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86