#CB82F6#CB82F6
#CB82F6 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.7% C 0.177 H 311.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CB82F6 |
|---|---|
| RGB | rgb(203, 130, 246) |
| HSL | hsl(278, 87%, 74%) |
| HSV | hsv(278, 47%, 96%) |
| CMYK | cmyk(17.5%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(65.99, 48.16, -47.29) |
| CIE-LCH | lch(65.99, 67.49, 315.52°) |
| OKLab | oklab(72.67% 0.1176 -0.1317) |
| OKLCH | oklch(72.67% 0.177 311.8) |
| XYZ | xyz(49.2429, 35.3166, 91.3936) |
| Luminance | 0.3532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.50
Liliac
#C48EFD
ΔE00 3.52
Easter Purple
#C071FE
ΔE00 4.87
Baby Purple
#CA9BF7
ΔE00 6.23
Light Urple
#B36FF6
ΔE00 6.51
Violet (CSS)
#EE82EE
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB82F6 #ADF682
analogous
#9182F6 #CB82F6 #F682E7
triadic
#CB82F6 #F6CB82 #82F6CB
tetradic
#CB82F6 #F69182 #ADF682 #82E7F6
square
#CB82F6 #F69182 #ADF682 #82E7F6
split-complementary
#CB82F6 #E7F682 #82F691
monochromatic
#9B11ED #B349F2 #CB82F6 #E3BBFA #F3E2FD
Accessibility & contrast
On white
2.60
#CB82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#CB82F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB82F6
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB82F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB82F6 | 1.00 | 2.60 | 8.06 | 8.06 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#C694B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cb82f6; /* rgb */ color: rgb(203, 130, 246); /* oklch */ color: oklch(72.7% 0.177 311.8);
Tailwind
colors: {
custom: {
50: '#dda8f9',
500: '#cb82f6',
950: '#000000',
},
}SCSS
$custom: #cb82f6; $custom-light: #dda8f9; $custom-dark: #000000;
JSON
{
"hex": "#cb82f6",
"rgb": {
"r": 203,
"g": 130,
"b": 246
},
"hsl": {
"h": 277.759,
"s": 86.567,
"l": 73.725
},
"oklch": {
"l": 0.72671,
"c": 0.17656,
"h": 311.8
},
"luminance": 0.35316
}Semantic roles & 50–950 ramp
primary
#CB82F6
secondary
#E2F5D6
accent
#E30256
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85