#CB82E2#CB82E2
#CB82E2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.7% C 0.155 H 317.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82E2 |
|---|---|
| RGB | rgb(203, 130, 226) |
| HSL | hsl(286, 62%, 70%) |
| HSV | hsv(286, 42%, 89%) |
| CMYK | cmyk(10.2%, 42.5%, 0%, 11.4%) |
| CIE-LAB | lab(65.08, 44.02, -37.68) |
| CIE-LCH | lch(65.08, 57.94, 319.44°) |
| OKLab | oklab(71.69% 0.1145 -0.104) |
| OKLCH | oklch(71.69% 0.155 317.8) |
| XYZ | xyz(46.3368, 34.1541, 76.0883) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 5.12
Orchid
#DA70D6
ΔE00 5.28
Light Purple
#BF77F6
ΔE00 5.80
Violet (CSS)
#EE82EE
ΔE00 5.91
Orchid (survey)
#C875C4
ΔE00 5.91
Liliac
#C48EFD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82E2 #99E282
analogous
#9B82E2 #CB82E2 #E282C9
triadic
#CB82E2 #E2CB82 #82E2CB
tetradic
#CB82E2 #E29B82 #99E282 #82C9E2
square
#CB82E2 #E29B82 #99E282 #82C9E2
split-complementary
#CB82E2 #C9E282 #82E29B
monochromatic
#9B2CBE #B650D6 #CB82E2 #E0B4EE #F4E5F9
Accessibility & contrast
On white
2.68
#CB82E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CB82E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82E2
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82E2 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7399E5
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#CB8FA7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb82e2; /* rgb */ color: rgb(203, 130, 226); /* oklch */ color: oklch(71.7% 0.155 317.8);
Tailwind
colors: {
custom: {
50: '#dca8eb',
500: '#cb82e2',
950: '#000000',
},
}SCSS
$custom: #cb82e2; $custom-light: #dca8eb; $custom-dark: #000000;
JSON
{
"hex": "#cb82e2",
"rgb": {
"r": 203,
"g": 130,
"b": 226
},
"hsl": {
"h": 285.625,
"s": 62.338,
"l": 69.804
},
"oklch": {
"l": 0.71694,
"c": 0.15464,
"h": 317.8
},
"luminance": 0.34153
}Semantic roles & 50–950 ramp
primary
#CB82E2
secondary
#D9EDD2
accent
#CA1B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84