#C87AF8#C87AF8
#C87AF8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.190 H 311.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C87AF8 |
|---|---|
| RGB | rgb(200, 122, 248) |
| HSL | hsl(277, 90%, 73%) |
| HSV | hsv(277, 51%, 97%) |
| CMYK | cmyk(19.4%, 50.8%, 0%, 2.7%) |
| CIE-LAB | lab(64.14, 51.95, -51.34) |
| CIE-LCH | lch(64.14, 73.04, 315.34°) |
| OKLab | oklab(71.26% 0.1249 -0.1435) |
| OKLCH | oklch(71.26% 0.19 311) |
| XYZ | xyz(47.7192, 32.9767, 92.6401) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.78
Easter Purple
#C071FE
ΔE00 2.92
Light Urple
#B36FF6
ΔE00 4.75
Liliac
#C48EFD
ΔE00 4.85
Bright Lavender
#C760FF
ΔE00 5.42
Bright Lilac
#C95EFB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87AF8 #AAF87A
analogous
#897AF8 #C87AF8 #F87AE9
triadic
#C87AF8 #F8C87A #7AF8C8
tetradic
#C87AF8 #F8897A #AAF87A #7AE9F8
square
#C87AF8 #F8897A #AAF87A #7AE9F8
split-complementary
#C87AF8 #E9F87A #7AF889
monochromatic
#960CEB #B040F5 #C87AF8 #E0B4FB #F3E2FD
Accessibility & contrast
On white
2.76
#C87AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#C87AF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87AF8
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87AF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87AF8 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#C28FAE
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c87af8; /* rgb */ color: rgb(200, 122, 248); /* oklch */ color: oklch(71.3% 0.190 311.0);
Tailwind
colors: {
custom: {
50: '#dba3fb',
500: '#c87af8',
950: '#000000',
},
}SCSS
$custom: #c87af8; $custom-light: #dba3fb; $custom-dark: #000000;
JSON
{
"hex": "#c87af8",
"rgb": {
"r": 200,
"g": 122,
"b": 248
},
"hsl": {
"h": 277.143,
"s": 90,
"l": 72.549
},
"oklch": {
"l": 0.71255,
"c": 0.19027,
"h": 311
},
"luminance": 0.32976
}Semantic roles & 50–950 ramp
primary
#C87AF8
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85