#CB82F2#CB82F2
#CB82F2 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.5% C 0.172 H 312.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82F2 |
|---|---|
| RGB | rgb(203, 130, 242) |
| HSL | hsl(279, 81%, 73%) |
| HSV | hsv(279, 46%, 95%) |
| CMYK | cmyk(16.1%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.81, 47.31, -45.39) |
| CIE-LCH | lch(65.81, 65.56, 316.19°) |
| OKLab | oklab(72.47% 0.1171 -0.1262) |
| OKLCH | oklch(72.47% 0.172 312.8) |
| XYZ | xyz(48.6355, 35.0736, 88.1950) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.78
Liliac
#C48EFD
ΔE00 3.85
Easter Purple
#C071FE
ΔE00 5.23
Baby Purple
#CA9BF7
ΔE00 6.20
Light Urple
#B36FF6
ΔE00 6.76
Violet (CSS)
#EE82EE
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82F2 #A9F282
analogous
#9382F2 #CB82F2 #F282E1
triadic
#CB82F2 #F2CB82 #82F2CB
tetradic
#CB82F2 #F29382 #A9F282 #82E1F2
square
#CB82F2 #F29382 #A9F282 #82E1F2
split-complementary
#CB82F2 #E1F282 #82F293
monochromatic
#9C18E2 #B44BEC #CB82F2 #E2B9F8 #F3E3FC
Accessibility & contrast
On white
2.62
#CB82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#CB82F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82F2
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82F2 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#C793AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cb82f2; /* rgb */ color: rgb(203, 130, 242); /* oklch */ color: oklch(72.5% 0.172 312.8);
Tailwind
colors: {
custom: {
50: '#dda8f7',
500: '#cb82f2',
950: '#000000',
},
}SCSS
$custom: #cb82f2; $custom-light: #dda8f7; $custom-dark: #000000;
JSON
{
"hex": "#cb82f2",
"rgb": {
"r": 203,
"g": 130,
"b": 242
},
"hsl": {
"h": 279.107,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.72469,
"c": 0.17213,
"h": 312.8
},
"luminance": 0.35073
}Semantic roles & 50–950 ramp
primary
#CB82F2
secondary
#E1F4D7
accent
#DE0852
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85