#CC7CED#CC7CED
#CC7CED is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.177 H 315.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CED |
|---|---|
| RGB | rgb(204, 124, 237) |
| HSL | hsl(282, 76%, 71%) |
| HSV | hsv(282, 48%, 93%) |
| CMYK | cmyk(13.9%, 47.7%, 0%, 7.1%) |
| CIE-LAB | lab(64.46, 49.69, -44.74) |
| CIE-LCH | lch(64.46, 66.86, 318.00°) |
| OKLab | oklab(71.41% 0.1258 -0.1243) |
| OKLCH | oklch(71.41% 0.177 315.3) |
| XYZ | xyz(47.3932, 33.3684, 84.0485) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.63
Easter Purple
#C071FE
ΔE00 4.95
Liliac
#C48EFD
ΔE00 5.38
Orchid
#DA70D6
ΔE00 5.79
Light Urple
#B36FF6
ΔE00 6.43
Violet (CSS)
#EE82EE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CED #9DED7C
analogous
#937CED #CC7CED #ED7CD5
triadic
#CC7CED #EDCC7C #7CEDCC
tetradic
#CC7CED #ED937C #9DED7C #7CD5ED
square
#CC7CED #ED937C #9DED7C #7CD5ED
split-complementary
#CC7CED #D5ED7C #7CED93
monochromatic
#9D1DD2 #B746E6 #CC7CED #E1B2F4 #F5E4FB
Accessibility & contrast
On white
2.74
#CC7CED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CC7CED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CED
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CED | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#CA8DAA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc7ced; /* rgb */ color: rgb(204, 124, 237); /* oklch */ color: oklch(71.4% 0.177 315.3);
Tailwind
colors: {
custom: {
50: '#dda4f3',
500: '#cc7ced',
950: '#000000',
},
}SCSS
$custom: #cc7ced; $custom-light: #dda4f3; $custom-dark: #000000;
JSON
{
"hex": "#cc7ced",
"rgb": {
"r": 204,
"g": 124,
"b": 237
},
"hsl": {
"h": 282.478,
"s": 75.839,
"l": 70.784
},
"oklch": {
"l": 0.71414,
"c": 0.1768,
"h": 315.3
},
"luminance": 0.33367
}Semantic roles & 50–950 ramp
primary
#CC7CED
secondary
#DCF2D3
accent
#D80D49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85