#CC9CD2#CC9CD2
#CC9CD2 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.5% C 0.092 H 322.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CC9CD2 |
|---|---|
| RGB | rgb(204, 156, 210) |
| HSL | hsl(293, 38%, 72%) |
| HSV | hsv(293, 26%, 82%) |
| CMYK | cmyk(2.9%, 25.7%, 0%, 17.6%) |
| CIE-LAB | lab(70.36, 27.08, -20.68) |
| CIE-LCH | lch(70.36, 34.07, 322.63°) |
| OKLab | oklab(75.51% 0.0734 -0.0559) |
| OKLCH | oklch(75.51% 0.092 322.7) |
| XYZ | xyz(48.4217, 41.2686, 66.3752) |
| Luminance | 0.4127 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.27
Lilac
#C8A2C8
ΔE00 4.13
Pale Purple
#B790D4
ΔE00 6.07
Lavender (survey)
#C79FEF
ΔE00 7.01
Lavender
#B39DDB
ΔE00 7.37
Lavender Pink
#DD85D7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC9CD2 #A2D29C
analogous
#B19CD2 #CC9CD2 #D29CBD
triadic
#CC9CD2 #D2CC9C #9CD2CC
tetradic
#CC9CD2 #D2B19C #A2D29C #9CBDD2
square
#CC9CD2 #D2B19C #A2D29C #9CBDD2
split-complementary
#CC9CD2 #BDD29C #9CD2B1
monochromatic
#9D4CA7 #B672BF #CC9CD2 #E2C6E5 #F4EAF5
Accessibility & contrast
On white
2.27
#CC9CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#CC9CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC9CD2
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC9CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC9CD2 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#CEA1AF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cc9cd2; /* rgb */ color: rgb(204, 156, 210); /* oklch */ color: oklch(75.5% 0.092 322.7);
Tailwind
colors: {
custom: {
50: '#dcb9e0',
500: '#cc9cd2',
950: '#000000',
},
}SCSS
$custom: #cc9cd2; $custom-light: #dcb9e0; $custom-dark: #000000;
JSON
{
"hex": "#cc9cd2",
"rgb": {
"r": 204,
"g": 156,
"b": 210
},
"hsl": {
"h": 293.333,
"s": 37.5,
"l": 71.765
},
"oklch": {
"l": 0.75512,
"c": 0.09231,
"h": 322.7
},
"luminance": 0.41267
}Semantic roles & 50–950 ramp
primary
#CC9CD2
secondary
#E0ECDE
accent
#B03543
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083