#CB82EE#CB82EE
#CB82EE is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.3% C 0.168 H 314.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82EE |
|---|---|
| RGB | rgb(203, 130, 238) |
| HSL | hsl(281, 76%, 72%) |
| HSV | hsv(281, 45%, 93%) |
| CMYK | cmyk(14.7%, 45.4%, 0%, 6.7%) |
| CIE-LAB | lab(65.62, 46.47, -43.48) |
| CIE-LCH | lch(65.62, 63.64, 316.91°) |
| OKLab | oklab(72.27% 0.1165 -0.1207) |
| OKLCH | oklch(72.27% 0.168 314) |
| XYZ | xyz(48.0413, 34.8360, 85.0656) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.17
Liliac
#C48EFD
ΔE00 4.27
Easter Purple
#C071FE
ΔE00 5.67
Baby Purple
#CA9BF7
ΔE00 6.25
Violet (CSS)
#EE82EE
ΔE00 6.49
Orchid
#DA70D6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82EE #A5EE82
analogous
#9582EE #CB82EE #EE82DB
triadic
#CB82EE #EECB82 #82EECB
tetradic
#CB82EE #EE9582 #A5EE82 #82DBEE
square
#CB82EE #EE9582 #A5EE82 #82DBEE
split-complementary
#CB82EE #DBEE82 #82EE95
monochromatic
#9C1DD8 #B54CE7 #CB82EE #E1B8F5 #F4E4FB
Accessibility & contrast
On white
2.64
#CB82EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CB82EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82EE
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82EE | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#C892AD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb82ee; /* rgb */ color: rgb(203, 130, 238); /* oklch */ color: oklch(72.3% 0.168 314.0);
Tailwind
colors: {
custom: {
50: '#dda8f4',
500: '#cb82ee',
950: '#000000',
},
}SCSS
$custom: #cb82ee; $custom-light: #dda8f4; $custom-dark: #000000;
JSON
{
"hex": "#cb82ee",
"rgb": {
"r": 203,
"g": 130,
"b": 238
},
"hsl": {
"h": 280.556,
"s": 76.056,
"l": 72.157
},
"oklch": {
"l": 0.72271,
"c": 0.16772,
"h": 314
},
"luminance": 0.34835
}Semantic roles & 50–950 ramp
primary
#CB82EE
secondary
#E1F3D8
accent
#D80D4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85