#CC82ED#CC82ED
#CC82ED is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.167 H 314.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CC82ED |
|---|---|
| RGB | rgb(204, 130, 237) |
| HSL | hsl(281, 75%, 72%) |
| HSV | hsv(281, 45%, 93%) |
| CMYK | cmyk(13.9%, 45.1%, 0%, 7.1%) |
| CIE-LAB | lab(65.69, 46.55, -42.82) |
| CIE-LCH | lch(65.69, 63.24, 317.39°) |
| OKLab | oklab(72.33% 0.1175 -0.1187) |
| OKLCH | oklch(72.33% 0.167 314.7) |
| XYZ | xyz(48.1681, 34.9183, 84.3068) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.42
Liliac
#C48EFD
ΔE00 4.50
Easter Purple
#C071FE
ΔE00 5.90
Violet (CSS)
#EE82EE
ΔE00 6.22
Baby Purple
#CA9BF7
ΔE00 6.31
Orchid
#DA70D6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC82ED #A3ED82
analogous
#9782ED #CC82ED #ED82D9
triadic
#CC82ED #EDCC82 #82EDCC
tetradic
#CC82ED #ED9782 #A3ED82 #82D9ED
square
#CC82ED #ED9782 #A3ED82 #82D9ED
split-complementary
#CC82ED #D9ED82 #82ED97
monochromatic
#9D1FD6 #B64DE5 #CC82ED #E2B7F5 #F4E4FB
Accessibility & contrast
On white
2.63
#CC82ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#CC82ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC82ED
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC82ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC82ED | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#81A2EA
Tritanopia (blue-blind)
#CA92AC
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cc82ed; /* rgb */ color: rgb(204, 130, 237); /* oklch */ color: oklch(72.3% 0.167 314.7);
Tailwind
colors: {
custom: {
50: '#dda8f3',
500: '#cc82ed',
950: '#000000',
},
}SCSS
$custom: #cc82ed; $custom-light: #dda8f3; $custom-dark: #000000;
JSON
{
"hex": "#cc82ed",
"rgb": {
"r": 204,
"g": 130,
"b": 237
},
"hsl": {
"h": 281.495,
"s": 74.825,
"l": 71.961
},
"oklch": {
"l": 0.72328,
"c": 0.16705,
"h": 314.7
},
"luminance": 0.34917
}Semantic roles & 50–950 ramp
primary
#CC82ED
secondary
#E0F3D8
accent
#D70F4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85