#C387EF#C387EF
#C387EF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.158 H 309.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C387EF |
|---|---|
| RGB | rgb(195, 135, 239) |
| HSL | hsl(275, 76%, 73%) |
| HSV | hsv(275, 44%, 94%) |
| CMYK | cmyk(18.4%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(65.88, 41.77, -43.69) |
| CIE-LCH | lch(65.88, 60.44, 313.71°) |
| OKLab | oklab(72.28% 0.1003 -0.1215) |
| OKLCH | oklch(72.28% 0.158 309.5) |
| XYZ | xyz(46.7467, 35.1627, 85.9691) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.71
Light Purple
#BF77F6
ΔE00 4.30
Baby Purple
#CA9BF7
ΔE00 5.00
Easter Purple
#C071FE
ΔE00 5.95
Pale Purple
#B790D4
ΔE00 6.21
Pastel Purple
#CAA0FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C387EF #B3EF87
analogous
#8F87EF #C387EF #EF87E7
triadic
#C387EF #EFC387 #87EFC3
tetradic
#C387EF #EF8F87 #B3EF87 #87E7EF
square
#C387EF #EF8F87 #B3EF87 #87E7EF
split-complementary
#C387EF #E7EF87 #87EF8F
monochromatic
#8D1EDE #A851E8 #C387EF #DEBDF6 #F1E4FB
Accessibility & contrast
On white
2.61
#C387EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#C387EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C387EF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C387EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C387EF | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#BE97B0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c387ef; /* rgb */ color: rgb(195, 135, 239); /* oklch */ color: oklch(72.3% 0.158 309.5);
Tailwind
colors: {
custom: {
50: '#d7abf4',
500: '#c387ef',
950: '#000000',
},
}SCSS
$custom: #c387ef; $custom-light: #d7abf4; $custom-dark: #000000;
JSON
{
"hex": "#c387ef",
"rgb": {
"r": 195,
"g": 135,
"b": 239
},
"hsl": {
"h": 274.615,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.72284,
"c": 0.15754,
"h": 309.5
},
"luminance": 0.35162
}Semantic roles & 50–950 ramp
primary
#C387EF
secondary
#E3F3D8
accent
#D90D63
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85