#CC82F2#CC82F2
#CC82F2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.6% C 0.173 H 313.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CC82F2 |
|---|---|
| RGB | rgb(204, 130, 242) |
| HSL | hsl(280, 81%, 73%) |
| HSV | hsv(280, 46%, 95%) |
| CMYK | cmyk(15.7%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.92, 47.59, -45.21) |
| CIE-LCH | lch(65.92, 65.64, 316.47°) |
| OKLab | oklab(72.58% 0.1182 -0.1257) |
| OKLCH | oklch(72.58% 0.173 313.3) |
| XYZ | xyz(48.9088, 35.2146, 88.2078) |
| Luminance | 0.3521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Liliac
#C48EFD
ΔE00 3.96
Easter Purple
#C071FE
ΔE00 5.34
Baby Purple
#CA9BF7
ΔE00 6.22
Violet (CSS)
#EE82EE
ΔE00 6.60
Light Urple
#B36FF6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC82F2 #A8F282
analogous
#9482F2 #CC82F2 #F282E0
triadic
#CC82F2 #F2CC82 #82F2CC
tetradic
#CC82F2 #F29482 #A8F282 #82E0F2
square
#CC82F2 #F29482 #A8F282 #82E0F2
split-complementary
#CC82F2 #E0F282 #82F294
monochromatic
#9D18E2 #B54BEC #CC82F2 #E3B9F8 #F4E3FC
Accessibility & contrast
On white
2.61
#CC82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#CC82F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC82F2
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC82F2 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#C993AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cc82f2; /* rgb */ color: rgb(204, 130, 242); /* oklch */ color: oklch(72.6% 0.173 313.3);
Tailwind
colors: {
custom: {
50: '#dda8f7',
500: '#cc82f2',
950: '#000000',
},
}SCSS
$custom: #cc82f2; $custom-light: #dda8f7; $custom-dark: #000000;
JSON
{
"hex": "#cc82f2",
"rgb": {
"r": 204,
"g": 130,
"b": 242
},
"hsl": {
"h": 279.643,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.72575,
"c": 0.17254,
"h": 313.3
},
"luminance": 0.35213
}Semantic roles & 50–950 ramp
primary
#CC82F2
secondary
#E1F4D7
accent
#DE0850
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85