#CC7CD1#CC7CD1
#CC7CD1 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.148 H 324.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CD1 |
|---|---|
| RGB | rgb(204, 124, 209) |
| HSL | hsl(296, 48%, 65%) |
| HSV | hsv(296, 41%, 82%) |
| CMYK | cmyk(2.4%, 40.7%, 0%, 18%) |
| CIE-LAB | lab(63.23, 44.18, -31.08) |
| CIE-LCH | lch(63.23, 54.01, 324.87°) |
| OKLab | oklab(70.09% 0.121 -0.085) |
| OKLCH | oklch(70.09% 0.148 324.9) |
| XYZ | xyz(43.6171, 31.8580, 64.1609) |
| Luminance | 0.3186 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.65
Orchid
#DA70D6
ΔE00 3.42
Lavender Pink
#DD85D7
ΔE00 3.80
Purply Pink
#F075E6
ΔE00 6.13
Violet (CSS)
#EE82EE
ΔE00 6.40
Wisteria
#A87DC2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CD1 #81D17C
analogous
#A27CD1 #CC7CD1 #D17CAB
triadic
#CC7CD1 #D1CC7C #7CD1CC
tetradic
#CC7CD1 #D1A27C #81D17C #7CABD1
square
#CC7CD1 #D1A27C #81D17C #7CABD1
split-complementary
#CC7CD1 #ABD17C #7CD1A2
monochromatic
#96379C #BA4FC1 #CC7CD1 #DEA9E1 #EFD7F1
Accessibility & contrast
On white
2.85
#CC7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#CC7CD1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CD1
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CD1 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7493D4
Deuteranopia (green-blind)
#899DCE
Tritanopia (blue-blind)
#D0859D
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cc7cd1; /* rgb */ color: rgb(204, 124, 209); /* oklch */ color: oklch(70.1% 0.148 324.9);
Tailwind
colors: {
custom: {
50: '#dda4df',
500: '#cc7cd1',
950: '#000000',
},
}SCSS
$custom: #cc7cd1; $custom-light: #dda4df; $custom-dark: #000000;
JSON
{
"hex": "#cc7cd1",
"rgb": {
"r": 204,
"g": 124,
"b": 209
},
"hsl": {
"h": 296.471,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.70091,
"c": 0.14785,
"h": 324.9
},
"luminance": 0.31856
}Semantic roles & 50–950 ramp
primary
#CC7CD1
secondary
#C8E3C6
accent
#BB2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83