#C386EF#C386EF
#C386EF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.159 H 309.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C386EF |
|---|---|
| RGB | rgb(195, 134, 239) |
| HSL | hsl(275, 77%, 73%) |
| HSV | hsv(275, 44%, 94%) |
| CMYK | cmyk(18.4%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(65.66, 42.31, -44.03) |
| CIE-LCH | lch(65.66, 61.06, 313.86°) |
| OKLab | oklab(72.12% 0.1017 -0.1225) |
| OKLCH | oklch(72.12% 0.159 309.7) |
| XYZ | xyz(46.6079, 34.8850, 85.9228) |
| Luminance | 0.3488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.85
Light Purple
#BF77F6
ΔE00 4.07
Baby Purple
#CA9BF7
ΔE00 5.25
Easter Purple
#C071FE
ΔE00 5.72
Pale Purple
#B790D4
ΔE00 6.37
Pastel Purple
#CAA0FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C386EF #B2EF86
analogous
#8E86EF #C386EF #EF86E6
triadic
#C386EF #EFC386 #86EFC3
tetradic
#C386EF #EF8E86 #B2EF86 #86E6EF
square
#C386EF #EF8E86 #B2EF86 #86E6EF
split-complementary
#C386EF #E6EF86 #86EF8E
monochromatic
#8D1DDD #A850E8 #C386EF #DEBCF6 #F2E4FB
Accessibility & contrast
On white
2.63
#C386EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#C386EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C386EF
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C386EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C386EF | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#BE96AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c386ef; /* rgb */ color: rgb(195, 134, 239); /* oklch */ color: oklch(72.1% 0.159 309.7);
Tailwind
colors: {
custom: {
50: '#d7aaf4',
500: '#c386ef',
950: '#000000',
},
}SCSS
$custom: #c386ef; $custom-light: #d7aaf4; $custom-dark: #000000;
JSON
{
"hex": "#c386ef",
"rgb": {
"r": 195,
"g": 134,
"b": 239
},
"hsl": {
"h": 274.857,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.72122,
"c": 0.15918,
"h": 309.7
},
"luminance": 0.34884
}Semantic roles & 50–950 ramp
primary
#C386EF
secondary
#E3F3D8
accent
#D90D62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85