#CC7CD2#CC7CD2
#CC7CD2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.149 H 324.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CD2 |
|---|---|
| RGB | rgb(204, 124, 210) |
| HSL | hsl(296, 49%, 65%) |
| HSV | hsv(296, 41%, 82%) |
| CMYK | cmyk(2.9%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(63.27, 44.36, -31.58) |
| CIE-LCH | lch(63.27, 54.45, 324.56°) |
| OKLab | oklab(70.14% 0.1212 -0.0864) |
| OKLCH | oklch(70.14% 0.149 324.5) |
| XYZ | xyz(43.7412, 31.9076, 64.8150) |
| Luminance | 0.3191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.80
Orchid
#DA70D6
ΔE00 3.40
Lavender Pink
#DD85D7
ΔE00 3.85
Purply Pink
#F075E6
ΔE00 6.09
Violet (CSS)
#EE82EE
ΔE00 6.33
Wisteria
#A87DC2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CD2 #82D27C
analogous
#A17CD2 #CC7CD2 #D27CAD
triadic
#CC7CD2 #D2CC7C #7CD2CC
tetradic
#CC7CD2 #D2A17C #82D27C #7CADD2
square
#CC7CD2 #D2A17C #82D27C #7CADD2
split-complementary
#CC7CD2 #ADD27C #7CD2A1
monochromatic
#96369D #BA4EC2 #CC7CD2 #DEAAE2 #EFD7F1
Accessibility & contrast
On white
2.85
#CC7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#CC7CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CD2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CD2 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#D0859D
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cc7cd2; /* rgb */ color: rgb(204, 124, 210); /* oklch */ color: oklch(70.1% 0.149 324.5);
Tailwind
colors: {
custom: {
50: '#dda4e0',
500: '#cc7cd2',
950: '#000000',
},
}SCSS
$custom: #cc7cd2; $custom-light: #dda4e0; $custom-dark: #000000;
JSON
{
"hex": "#cc7cd2",
"rgb": {
"r": 204,
"g": 124,
"b": 210
},
"hsl": {
"h": 295.814,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.70135,
"c": 0.14884,
"h": 324.5
},
"luminance": 0.31906
}Semantic roles & 50–950 ramp
primary
#CC7CD2
secondary
#C9E3C6
accent
#BC2934
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83