#C87AF7#C87AF7
#C87AF7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.2% C 0.189 H 311.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C87AF7 |
|---|---|
| RGB | rgb(200, 122, 247) |
| HSL | hsl(277, 89%, 72%) |
| HSV | hsv(277, 51%, 97%) |
| CMYK | cmyk(19%, 50.6%, 0%, 3.1%) |
| CIE-LAB | lab(64.09, 51.74, -50.87) |
| CIE-LCH | lch(64.09, 72.56, 315.49°) |
| OKLab | oklab(71.2% 0.1248 -0.1421) |
| OKLCH | oklch(71.2% 0.189 311.3) |
| XYZ | xyz(47.5644, 32.9148, 91.8252) |
| Luminance | 0.3291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.82
Easter Purple
#C071FE
ΔE00 3.00
Light Urple
#B36FF6
ΔE00 4.79
Liliac
#C48EFD
ΔE00 4.88
Bright Lavender
#C760FF
ΔE00 5.46
Bright Lilac
#C95EFB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87AF7 #A9F77A
analogous
#8A7AF7 #C87AF7 #F77AE7
triadic
#C87AF7 #F7C87A #7AF7C8
tetradic
#C87AF7 #F78A7A #A9F77A #7AE7F7
square
#C87AF7 #F78A7A #A9F77A #7AE7F7
split-complementary
#C87AF7 #E7F77A #7AF78A
monochromatic
#960EE9 #B040F4 #C87AF7 #E0B4FA #F3E2FD
Accessibility & contrast
On white
2.77
#C87AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#C87AF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87AF7
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87AF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87AF7 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#C38FAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c87af7; /* rgb */ color: rgb(200, 122, 247); /* oklch */ color: oklch(71.2% 0.189 311.3);
Tailwind
colors: {
custom: {
50: '#dba3fa',
500: '#c87af7',
950: '#000000',
},
}SCSS
$custom: #c87af7; $custom-light: #dba3fa; $custom-dark: #000000;
JSON
{
"hex": "#c87af7",
"rgb": {
"r": 200,
"g": 122,
"b": 247
},
"hsl": {
"h": 277.44,
"s": 88.652,
"l": 72.353
},
"oklch": {
"l": 0.71201,
"c": 0.18918,
"h": 311.3
},
"luminance": 0.32914
}Semantic roles & 50–950 ramp
primary
#C87AF7
secondary
#E2F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85