#C487EF#C487EF
#C487EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.4% C 0.158 H 310.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C487EF |
|---|---|
| RGB | rgb(196, 135, 239) |
| HSL | hsl(275, 76%, 73%) |
| HSV | hsv(275, 44%, 94%) |
| CMYK | cmyk(18%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(65.98, 42.05, -43.52) |
| CIE-LCH | lch(65.98, 60.51, 314.02°) |
| OKLab | oklab(72.39% 0.1015 -0.121) |
| OKLCH | oklch(72.39% 0.158 310) |
| XYZ | xyz(47.0061, 35.2964, 85.9812) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.78
Light Purple
#BF77F6
ΔE00 4.36
Baby Purple
#CA9BF7
ΔE00 4.99
Easter Purple
#C071FE
ΔE00 6.00
Pale Purple
#B790D4
ΔE00 6.23
Pastel Purple
#CAA0FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C487EF #B2EF87
analogous
#9087EF #C487EF #EF87E6
triadic
#C487EF #EFC487 #87EFC4
tetradic
#C487EF #EF9087 #B2EF87 #87E6EF
square
#C487EF #EF9087 #B2EF87 #87E6EF
split-complementary
#C487EF #E6EF87 #87EF90
monochromatic
#8E1EDE #A951E8 #C487EF #DFBDF6 #F2E4FB
Accessibility & contrast
On white
2.61
#C487EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#C487EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C487EF
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C487EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C487EF | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#BF97B0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c487ef; /* rgb */ color: rgb(196, 135, 239); /* oklch */ color: oklch(72.4% 0.158 310.0);
Tailwind
colors: {
custom: {
50: '#d7abf4',
500: '#c487ef',
950: '#000000',
},
}SCSS
$custom: #c487ef; $custom-light: #d7abf4; $custom-dark: #000000;
JSON
{
"hex": "#c487ef",
"rgb": {
"r": 196,
"g": 135,
"b": 239
},
"hsl": {
"h": 275.192,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.72385,
"c": 0.1579,
"h": 310
},
"luminance": 0.35296
}Semantic roles & 50–950 ramp
primary
#C487EF
secondary
#E3F3D8
accent
#D90D61
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85