#CDA8CD#CDA8CD
#CDA8CD is a light, moderate purple. Relative luminance 0.454; OKLCH L 77.6% C 0.066 H 326.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA8CD |
|---|---|
| RGB | rgb(205, 168, 205) |
| HSL | hsl(300, 27%, 73%) |
| HSV | hsv(300, 18%, 80%) |
| CMYK | cmyk(0%, 18%, 0%, 19.6%) |
| CIE-LAB | lab(73.15, 19.89, -13.71) |
| CIE-LCH | lch(73.15, 24.16, 325.43°) |
| OKLab | oklab(77.62% 0.0548 -0.0367) |
| OKLCH | oklch(77.62% 0.066 326.2) |
| XYZ | xyz(50.1976, 45.3932, 63.8632) |
| Luminance | 0.4539 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 1.62
Plum
#DDA0DD
ΔE00 6.30
Thistle
#D8BFD8
ΔE00 6.80
Light Lavendar
#EFC0FE
ΔE00 9.33
Lavender
#B39DDB
ΔE00 9.43
Light Lilac
#EDC8FF
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA8CD #A8CDA8
analogous
#BAA8CD #CDA8CD #CDA8BA
triadic
#CDA8CD #CDCDA8 #A8CDCD
tetradic
#CDA8CD #CDBAA8 #A8CDA8 #A8BACD
square
#CDA8CD #CDBAA8 #A8CDA8 #A8BACD
split-complementary
#CDA8CD #BACDA8 #A8CDBA
monochromatic
#9F5B9F #B781B7 #CDA8CD #E3CFE3 #F4ECF4
Accessibility & contrast
On white
2.08
#CDA8CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#CDA8CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA8CD
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA8CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA8CD | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6B1CF
Deuteranopia (green-blind)
#AEB5CC
Tritanopia (blue-blind)
#CFABB4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cda8cd; /* rgb */ color: rgb(205, 168, 205); /* oklch */ color: oklch(77.6% 0.066 326.2);
Tailwind
colors: {
custom: {
50: '#dcc2dc',
500: '#cda8cd',
950: '#000000',
},
}SCSS
$custom: #cda8cd; $custom-light: #dcc2dc; $custom-dark: #000000;
JSON
{
"hex": "#cda8cd",
"rgb": {
"r": 205,
"g": 168,
"b": 205
},
"hsl": {
"h": 300,
"s": 27.007,
"l": 73.137
},
"oklch": {
"l": 0.77621,
"c": 0.066,
"h": 326.2
},
"luminance": 0.45392
}Semantic roles & 50–950 ramp
primary
#CDA8CD
secondary
#E1EAE1
accent
#A64040
background
#FDFBFD
surface
#FBF7FB
border
#D4D0D4
text
#151215
muted
#838183