#C87AF6#C87AF6
#C87AF6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.188 H 311.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C87AF6 |
|---|---|
| RGB | rgb(200, 122, 246) |
| HSL | hsl(278, 87%, 72%) |
| HSV | hsv(278, 50%, 96%) |
| CMYK | cmyk(18.7%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(64.04, 51.53, -50.40) |
| CIE-LCH | lch(64.04, 72.08, 315.64°) |
| OKLab | oklab(71.15% 0.1247 -0.1408) |
| OKLCH | oklch(71.15% 0.188 311.5) |
| XYZ | xyz(47.4105, 32.8532, 91.0147) |
| Luminance | 0.3285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.87
Easter Purple
#C071FE
ΔE00 3.10
Light Urple
#B36FF6
ΔE00 4.84
Liliac
#C48EFD
ΔE00 4.92
Bright Lavender
#C760FF
ΔE00 5.50
Bright Lilac
#C95EFB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87AF6 #A8F67A
analogous
#8A7AF6 #C87AF6 #F67AE6
triadic
#C87AF6 #F6C87A #7AF6C8
tetradic
#C87AF6 #F68A7A #A8F67A #7AE6F6
square
#C87AF6 #F68A7A #A8F67A #7AE6F6
split-complementary
#C87AF6 #E6F67A #7AF68A
monochromatic
#9610E6 #B041F2 #C87AF6 #E0B3FA #F3E2FD
Accessibility & contrast
On white
2.77
#C87AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#C87AF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87AF6
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87AF6 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c87af6; /* rgb */ color: rgb(200, 122, 246); /* oklch */ color: oklch(71.1% 0.188 311.5);
Tailwind
colors: {
custom: {
50: '#dba3fa',
500: '#c87af6',
950: '#000000',
},
}SCSS
$custom: #c87af6; $custom-light: #dba3fa; $custom-dark: #000000;
JSON
{
"hex": "#c87af6",
"rgb": {
"r": 200,
"g": 122,
"b": 246
},
"hsl": {
"h": 277.742,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.71148,
"c": 0.18809,
"h": 311.5
},
"luminance": 0.32852
}Semantic roles & 50–950 ramp
primary
#C87AF6
secondary
#E1F5D6
accent
#E40256
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85