#CB82E7#CB82E7
#CB82E7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.9% C 0.160 H 316.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82E7 |
|---|---|
| RGB | rgb(203, 130, 231) |
| HSL | hsl(283, 68%, 71%) |
| HSV | hsv(283, 44%, 91%) |
| CMYK | cmyk(12.1%, 43.7%, 0%, 9.4%) |
| CIE-LAB | lab(65.30, 45.03, -40.11) |
| CIE-LCH | lch(65.30, 60.30, 318.31°) |
| OKLab | oklab(71.93% 0.1154 -0.1109) |
| OKLCH | oklch(71.93% 0.16 316.1) |
| XYZ | xyz(47.0329, 34.4326, 79.7544) |
| Luminance | 0.3443 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.05
Liliac
#C48EFD
ΔE00 5.18
Orchid
#DA70D6
ΔE00 5.78
Lavender Pink
#DD85D7
ΔE00 5.85
Violet (CSS)
#EE82EE
ΔE00 6.07
Baby Purple
#CA9BF7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82E7 #9EE782
analogous
#9882E7 #CB82E7 #E782D0
triadic
#CB82E7 #E7CB82 #82E7CB
tetradic
#CB82E7 #E79882 #9EE782 #82D0E7
square
#CB82E7 #E79882 #9EE782 #82D0E7
split-complementary
#CB82E7 #D0E782 #82E798
monochromatic
#9B26C8 #B64FDD #CB82E7 #E0B5F1 #F4E5FA
Accessibility & contrast
On white
2.66
#CB82E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#CB82E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82E7
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82E7 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#CA90AA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb82e7; /* rgb */ color: rgb(203, 130, 231); /* oklch */ color: oklch(71.9% 0.160 316.1);
Tailwind
colors: {
custom: {
50: '#dca8ef',
500: '#cb82e7',
950: '#000000',
},
}SCSS
$custom: #cb82e7; $custom-light: #dca8ef; $custom-dark: #000000;
JSON
{
"hex": "#cb82e7",
"rgb": {
"r": 203,
"g": 130,
"b": 231
},
"hsl": {
"h": 283.366,
"s": 67.785,
"l": 70.784
},
"oklch": {
"l": 0.71931,
"c": 0.16005,
"h": 316.1
},
"luminance": 0.34431
}Semantic roles & 50–950 ramp
primary
#CB82E7
secondary
#DCF0D5
accent
#D01649
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84