#CCA7CD#CCA7CD
#CCA7CD is a light, moderate purple. Relative luminance 0.449; OKLCH L 77.3% C 0.067 H 325.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CCA7CD |
|---|---|
| RGB | rgb(204, 167, 205) |
| HSL | hsl(298, 28%, 73%) |
| HSV | hsv(298, 19%, 80%) |
| CMYK | cmyk(0.5%, 18.5%, 0%, 19.6%) |
| CIE-LAB | lab(72.82, 20.10, -14.22) |
| CIE-LCH | lch(72.82, 24.62, 324.72°) |
| OKLab | oklab(77.34% 0.0552 -0.0381) |
| OKLCH | oklch(77.34% 0.067 325.4) |
| XYZ | xyz(49.7387, 44.8836, 63.7890) |
| Luminance | 0.4488 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 1.35
Plum
#DDA0DD
ΔE00 6.11
Thistle
#D8BFD8
ΔE00 7.12
Lavender
#B39DDB
ΔE00 9.10
Light Lavendar
#EFC0FE
ΔE00 9.36
Pale Purple
#B790D4
ΔE00 9.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCA7CD #A8CDA7
analogous
#B9A7CD #CCA7CD #CDA7BB
triadic
#CCA7CD #CDCCA7 #A7CDCC
tetradic
#CCA7CD #CDB9A7 #A8CDA7 #A7BBCD
square
#CCA7CD #CDB9A7 #A8CDA7 #A7BBCD
split-complementary
#CCA7CD #BBCDA7 #A7CDB9
monochromatic
#9D5A9F #B580B7 #CCA7CD #E3CEE3 #F4EBF4
Accessibility & contrast
On white
2.10
#CCA7CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#CCA7CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCA7CD
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCA7CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCA7CD | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4B0CF
Deuteranopia (green-blind)
#ACB4CC
Tritanopia (blue-blind)
#CEAAB4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cca7cd; /* rgb */ color: rgb(204, 167, 205); /* oklch */ color: oklch(77.3% 0.067 325.4);
Tailwind
colors: {
custom: {
50: '#dbc1dc',
500: '#cca7cd',
950: '#000000',
},
}SCSS
$custom: #cca7cd; $custom-light: #dbc1dc; $custom-dark: #000000;
JSON
{
"hex": "#cca7cd",
"rgb": {
"r": 204,
"g": 167,
"b": 205
},
"hsl": {
"h": 298.421,
"s": 27.536,
"l": 72.941
},
"oklch": {
"l": 0.77341,
"c": 0.06712,
"h": 325.4
},
"luminance": 0.44883
}Semantic roles & 50–950 ramp
primary
#CCA7CD
secondary
#E1EAE1
accent
#A63F42
background
#FDFBFD
surface
#FBF7FB
border
#D4D0D4
text
#151215
muted
#838183