#CB82EC#CB82EC
#CB82EC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.2% C 0.166 H 314.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82EC |
|---|---|
| RGB | rgb(203, 130, 236) |
| HSL | hsl(281, 74%, 72%) |
| HSV | hsv(281, 45%, 93%) |
| CMYK | cmyk(14%, 44.9%, 0%, 7.5%) |
| CIE-LAB | lab(65.53, 46.06, -42.52) |
| CIE-LCH | lch(65.53, 62.68, 317.29°) |
| OKLab | oklab(72.17% 0.1162 -0.1179) |
| OKLCH | oklch(72.17% 0.166 314.6) |
| XYZ | xyz(47.7491, 34.7191, 83.5267) |
| Luminance | 0.3472 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.40
Liliac
#C48EFD
ΔE00 4.51
Easter Purple
#C071FE
ΔE00 5.91
Baby Purple
#CA9BF7
ΔE00 6.30
Violet (CSS)
#EE82EE
ΔE00 6.35
Orchid
#DA70D6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82EC #A3EC82
analogous
#9682EC #CB82EC #EC82D8
triadic
#CB82EC #ECCB82 #82ECCB
tetradic
#CB82EC #EC9682 #A3EC82 #82D8EC
square
#CB82EC #EC9682 #A3EC82 #82D8EC
split-complementary
#CB82EC #D8EC82 #82EC96
monochromatic
#9C20D3 #B54DE4 #CB82EC #E1B7F4 #F4E4FB
Accessibility & contrast
On white
2.64
#CB82EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#CB82EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82EC
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82EC | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#C991AC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb82ec; /* rgb */ color: rgb(203, 130, 236); /* oklch */ color: oklch(72.2% 0.166 314.6);
Tailwind
colors: {
custom: {
50: '#dda8f2',
500: '#cb82ec',
950: '#000000',
},
}SCSS
$custom: #cb82ec; $custom-light: #dda8f2; $custom-dark: #000000;
JSON
{
"hex": "#cb82ec",
"rgb": {
"r": 203,
"g": 130,
"b": 236
},
"hsl": {
"h": 281.321,
"s": 73.611,
"l": 71.765
},
"oklch": {
"l": 0.72172,
"c": 0.16551,
"h": 314.6
},
"luminance": 0.34718
}Semantic roles & 50–950 ramp
primary
#CB82EC
secondary
#E0F2D7
accent
#D6104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85