#CB86EF#CB86EF
#CB86EF is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.9% C 0.162 H 313.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CB86EF |
|---|---|
| RGB | rgb(203, 134, 239) |
| HSL | hsl(279, 77%, 73%) |
| HSV | hsv(279, 44%, 94%) |
| CMYK | cmyk(15.1%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(66.50, 44.56, -42.64) |
| CIE-LCH | lch(66.50, 61.68, 316.26°) |
| OKLab | oklab(72.95% 0.1111 -0.1183) |
| OKLCH | oklch(72.95% 0.162 313.2) |
| XYZ | xyz(48.7311, 35.9798, 86.0223) |
| Luminance | 0.3598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.65
Light Purple
#BF77F6
ΔE00 4.79
Baby Purple
#CA9BF7
ΔE00 5.31
Easter Purple
#C071FE
ΔE00 6.32
Violet (CSS)
#EE82EE
ΔE00 6.54
Pale Purple
#B790D4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB86EF #AAEF86
analogous
#9686EF #CB86EF #EF86DE
triadic
#CB86EF #EFCB86 #86EFCB
tetradic
#CB86EF #EF9686 #AAEF86 #86DEEF
square
#CB86EF #EF9686 #AAEF86 #86DEEF
split-complementary
#CB86EF #DEEF86 #86EF96
monochromatic
#9B1DDD #B450E8 #CB86EF #E2BCF6 #F3E4FB
Accessibility & contrast
On white
2.56
#CB86EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#CB86EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB86EF
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB86EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB86EF | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#C895AF
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cb86ef; /* rgb */ color: rgb(203, 134, 239); /* oklch */ color: oklch(72.9% 0.162 313.2);
Tailwind
colors: {
custom: {
50: '#dcabf4',
500: '#cb86ef',
950: '#000000',
},
}SCSS
$custom: #cb86ef; $custom-light: #dcabf4; $custom-dark: #000000;
JSON
{
"hex": "#cb86ef",
"rgb": {
"r": 203,
"g": 134,
"b": 239
},
"hsl": {
"h": 279.429,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.72946,
"c": 0.16226,
"h": 313.2
},
"luminance": 0.35979
}Semantic roles & 50–950 ramp
primary
#CB86EF
secondary
#E1F3D8
accent
#D90D53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85