#C87AF2#C87AF2
#C87AF2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.9% C 0.184 H 312.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C87AF2 |
|---|---|
| RGB | rgb(200, 122, 242) |
| HSL | hsl(279, 82%, 71%) |
| HSV | hsv(279, 50%, 95%) |
| CMYK | cmyk(17.4%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(63.84, 50.68, -48.50) |
| CIE-LCH | lch(63.84, 70.15, 316.26°) |
| OKLab | oklab(70.94% 0.1243 -0.1353) |
| OKLCH | oklch(70.94% 0.184 312.6) |
| XYZ | xyz(46.8032, 32.6103, 87.8161) |
| Luminance | 0.3261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Easter Purple
#C071FE
ΔE00 3.53
Light Urple
#B36FF6
ΔE00 5.09
Liliac
#C48EFD
ΔE00 5.11
Bright Lavender
#C760FF
ΔE00 5.73
Bright Lilac
#C95EFB
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87AF2 #A4F27A
analogous
#8C7AF2 #C87AF2 #F27AE0
triadic
#C87AF2 #F2C87A #7AF2C8
tetradic
#C87AF2 #F28C7A #A4F27A #7AE0F2
square
#C87AF2 #F28C7A #A4F27A #7AE0F2
split-complementary
#C87AF2 #E0F27A #7AF28C
monochromatic
#9716DC #B142ED #C87AF2 #DFB2F7 #F3E3FC
Accessibility & contrast
On white
2.79
#C87AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#C87AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87AF2
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87AF2 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#759CEF
Tritanopia (blue-blind)
#C48DAB
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c87af2; /* rgb */ color: rgb(200, 122, 242); /* oklch */ color: oklch(70.9% 0.184 312.6);
Tailwind
colors: {
custom: {
50: '#dba3f7',
500: '#c87af2',
950: '#000000',
},
}SCSS
$custom: #c87af2; $custom-light: #dba3f7; $custom-dark: #000000;
JSON
{
"hex": "#c87af2",
"rgb": {
"r": 200,
"g": 122,
"b": 242
},
"hsl": {
"h": 279,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.70937,
"c": 0.18373,
"h": 312.6
},
"luminance": 0.32609
}Semantic roles & 50–950 ramp
primary
#C87AF2
secondary
#DFF3D4
accent
#DF0752
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85