#CDA2CD#CDA2CD
#CDA2CD is a light, moderate purple. Relative luminance 0.432; OKLCH L 76.5% C 0.077 H 326.3°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2CD |
|---|---|
| RGB | rgb(205, 162, 205) |
| HSL | hsl(300, 30%, 72%) |
| HSV | hsv(300, 21%, 80%) |
| CMYK | cmyk(0%, 21%, 0%, 19.6%) |
| CIE-LAB | lab(71.71, 23.17, -15.87) |
| CIE-LCH | lch(71.71, 28.09, 325.59°) |
| OKLab | oklab(76.51% 0.0639 -0.0426) |
| OKLCH | oklch(76.51% 0.077 326.3) |
| XYZ | xyz(49.1154, 43.2288, 63.5025) |
| Luminance | 0.4323 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 1.57
Plum
#DDA0DD
ΔE00 4.65
Pale Purple
#B790D4
ΔE00 8.42
Lavender
#B39DDB
ΔE00 8.71
Thistle
#D8BFD8
ΔE00 8.85
Lavender (survey)
#C79FEF
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2CD #A2CDA2
analogous
#B8A2CD #CDA2CD #CDA2B8
triadic
#CDA2CD #CDCDA2 #A2CDCD
tetradic
#CDA2CD #CDB8A2 #A2CDA2 #A2B8CD
square
#CDA2CD #CDB8A2 #A2CDA2 #A2B8CD
split-complementary
#CDA2CD #B8CDA2 #A2CDB8
monochromatic
#9F569F #B87AB8 #CDA2CD #E2CAE2 #F4EBF4
Accessibility & contrast
On white
2.18
#CDA2CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#CDA2CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2CD
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2CD | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FACCF
Deuteranopia (green-blind)
#A9B2CB
Tritanopia (blue-blind)
#D0A5B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cda2cd; /* rgb */ color: rgb(205, 162, 205); /* oklch */ color: oklch(76.5% 0.077 326.3);
Tailwind
colors: {
custom: {
50: '#dcbddc',
500: '#cda2cd',
950: '#000000',
},
}SCSS
$custom: #cda2cd; $custom-light: #dcbddc; $custom-dark: #000000;
JSON
{
"hex": "#cda2cd",
"rgb": {
"r": 205,
"g": 162,
"b": 205
},
"hsl": {
"h": 300,
"s": 30.07,
"l": 71.961
},
"oklch": {
"l": 0.76512,
"c": 0.07685,
"h": 326.3
},
"luminance": 0.43228
}Semantic roles & 50–950 ramp
primary
#CDA2CD
secondary
#E0EBE0
accent
#A93D3D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183