#CCA2CD#CCA2CD
#CCA2CD is a light, moderate purple. Relative luminance 0.431; OKLCH L 76.4% C 0.076 H 325.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CCA2CD |
|---|---|
| RGB | rgb(204, 162, 205) |
| HSL | hsl(299, 30%, 72%) |
| HSV | hsv(299, 21%, 80%) |
| CMYK | cmyk(0.5%, 21%, 0%, 19.6%) |
| CIE-LAB | lab(71.61, 22.84, -16.03) |
| CIE-LCH | lch(71.61, 27.90, 324.93°) |
| OKLab | oklab(76.42% 0.0628 -0.0431) |
| OKLCH | oklch(76.42% 0.076 325.6) |
| XYZ | xyz(48.8403, 43.0870, 63.4896) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 1.46
Plum
#DDA0DD
ΔE00 4.76
Pale Purple
#B790D4
ΔE00 8.29
Lavender
#B39DDB
ΔE00 8.51
Thistle
#D8BFD8
ΔE00 8.82
Lavender (survey)
#C79FEF
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCA2CD #A3CDA2
analogous
#B7A2CD #CCA2CD #CDA2B9
triadic
#CCA2CD #CDCCA2 #A2CDCC
tetradic
#CCA2CD #CDB7A2 #A3CDA2 #A2B9CD
square
#CCA2CD #CDB7A2 #A3CDA2 #A2B9CD
split-complementary
#CCA2CD #B9CDA2 #A2CDB7
monochromatic
#9D569F #B67AB8 #CCA2CD #E2CAE2 #F4EBF4
Accessibility & contrast
On white
2.18
#CCA2CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CCA2CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCA2CD
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCA2CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCA2CD | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FACCF
Deuteranopia (green-blind)
#A8B1CB
Tritanopia (blue-blind)
#CFA6B1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cca2cd; /* rgb */ color: rgb(204, 162, 205); /* oklch */ color: oklch(76.4% 0.076 325.6);
Tailwind
colors: {
custom: {
50: '#dcbddc',
500: '#cca2cd',
950: '#000000',
},
}SCSS
$custom: #cca2cd; $custom-light: #dcbddc; $custom-dark: #000000;
JSON
{
"hex": "#cca2cd",
"rgb": {
"r": 204,
"g": 162,
"b": 205
},
"hsl": {
"h": 298.605,
"s": 30.07,
"l": 71.961
},
"oklch": {
"l": 0.76416,
"c": 0.07616,
"h": 325.6
},
"luminance": 0.43086
}Semantic roles & 50–950 ramp
primary
#CCA2CD
secondary
#E0EBE0
accent
#A93D3F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183