#CC82F6#CC82F6
#CC82F6 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.177 H 312.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CC82F6 |
|---|---|
| RGB | rgb(204, 130, 246) |
| HSL | hsl(278, 87%, 74%) |
| HSV | hsv(278, 47%, 96%) |
| CMYK | cmyk(17.1%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(66.10, 48.43, -47.11) |
| CIE-LCH | lch(66.10, 67.56, 315.79°) |
| OKLab | oklab(72.78% 0.1188 -0.1312) |
| OKLCH | oklch(72.78% 0.177 312.2) |
| XYZ | xyz(49.5161, 35.4575, 91.4064) |
| Luminance | 0.3546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.62
Light Purple
#BF77F6
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 4.98
Baby Purple
#CA9BF7
ΔE00 6.24
Light Urple
#B36FF6
ΔE00 6.64
Violet (CSS)
#EE82EE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC82F6 #ACF682
analogous
#9282F6 #CC82F6 #F682E6
triadic
#CC82F6 #F6CC82 #82F6CC
tetradic
#CC82F6 #F69282 #ACF682 #82E6F6
square
#CC82F6 #F69282 #ACF682 #82E6F6
split-complementary
#CC82F6 #E6F682 #82F692
monochromatic
#9D11ED #B549F2 #CC82F6 #E3BBFA #F3E2FD
Accessibility & contrast
On white
2.60
#CC82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#CC82F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC82F6
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC82F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC82F6 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7DA2F3
Tritanopia (blue-blind)
#C894B1
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cc82f6; /* rgb */ color: rgb(204, 130, 246); /* oklch */ color: oklch(72.8% 0.177 312.2);
Tailwind
colors: {
custom: {
50: '#dea8f9',
500: '#cc82f6',
950: '#000000',
},
}SCSS
$custom: #cc82f6; $custom-light: #dea8f9; $custom-dark: #000000;
JSON
{
"hex": "#cc82f6",
"rgb": {
"r": 204,
"g": 130,
"b": 246
},
"hsl": {
"h": 278.276,
"s": 86.567,
"l": 73.725
},
"oklch": {
"l": 0.72776,
"c": 0.17695,
"h": 312.2
},
"luminance": 0.35456
}Semantic roles & 50–950 ramp
primary
#CC82F6
secondary
#E1F5D6
accent
#E30254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85