#CB86F2#CB86F2
#CB86F2 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.166 H 312.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CB86F2 |
|---|---|
| RGB | rgb(203, 134, 242) |
| HSL | hsl(278, 81%, 74%) |
| HSV | hsv(278, 45%, 95%) |
| CMYK | cmyk(16.1%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(66.64, 45.19, -44.08) |
| CIE-LCH | lch(66.64, 63.13, 315.72°) |
| OKLab | oklab(73.09% 0.1116 -0.1224) |
| OKLCH | oklch(73.09% 0.166 312.3) |
| XYZ | xyz(49.1780, 36.1585, 88.3758) |
| Luminance | 0.3616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.27
Light Purple
#BF77F6
ΔE00 4.53
Baby Purple
#CA9BF7
ΔE00 5.27
Easter Purple
#C071FE
ΔE00 6.02
Pastel Purple
#CAA0FF
ΔE00 6.65
Violet (CSS)
#EE82EE
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB86F2 #ADF286
analogous
#9586F2 #CB86F2 #F286E3
triadic
#CB86F2 #F2CB86 #86F2CB
tetradic
#CB86F2 #F29586 #ADF286 #86E3F2
square
#CB86F2 #F29586 #ADF286 #86E3F2
split-complementary
#CB86F2 #E3F286 #86F295
monochromatic
#9B19E5 #B34FEC #CB86F2 #E3BDF8 #F3E3FC
Accessibility & contrast
On white
2.55
#CB86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#CB86F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB86F2
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB86F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB86F2 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#C796B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cb86f2; /* rgb */ color: rgb(203, 134, 242); /* oklch */ color: oklch(73.1% 0.166 312.3);
Tailwind
colors: {
custom: {
50: '#ddabf7',
500: '#cb86f2',
950: '#000000',
},
}SCSS
$custom: #cb86f2; $custom-light: #ddabf7; $custom-dark: #000000;
JSON
{
"hex": "#cb86f2",
"rgb": {
"r": 203,
"g": 134,
"b": 242
},
"hsl": {
"h": 278.333,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.73092,
"c": 0.16563,
"h": 312.3
},
"luminance": 0.36158
}Semantic roles & 50–950 ramp
primary
#CB86F2
secondary
#E2F4D7
accent
#DD0955
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85