#CD97C8#CD97C8
#CD97C8 is a light, moderate purple. Relative luminance 0.393; OKLCH L 74.3% C 0.092 H 329.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CD97C8 |
|---|---|
| RGB | rgb(205, 151, 200) |
| HSL | hsl(306, 35%, 70%) |
| HSV | hsv(306, 26%, 80%) |
| CMYK | cmyk(0%, 26.3%, 2.4%, 19.6%) |
| CIE-LAB | lab(68.96, 28.26, -17.27) |
| CIE-LCH | lch(68.96, 33.12, 328.57°) |
| OKLab | oklab(74.35% 0.0791 -0.0464) |
| OKLCH | oklch(74.35% 0.092 329.6) |
| XYZ | xyz(46.6679, 39.2840, 59.7567) |
| Luminance | 0.3928 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.13
Plum
#DDA0DD
ΔE00 4.23
Lavender Pink
#DD85D7
ΔE00 7.07
Pale Purple
#B790D4
ΔE00 7.40
Dusty Lavender
#AC86A8
ΔE00 8.14
Heather
#A484AC
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD97C8 #97CD9C
analogous
#B797CD #CD97C8 #CD97AD
triadic
#CD97C8 #C8CD97 #97C8CD
tetradic
#CD97C8 #CDB797 #97CD9C #97ADCD
square
#CD97C8 #CDB797 #97CD9C #97ADCD
split-complementary
#CD97C8 #ADCD97 #97CDB7
monochromatic
#9E4C96 #B96EB2 #CD97C8 #E1C0DE #F5EAF4
Accessibility & contrast
On white
2.37
#CD97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#CD97C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD97C8
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD97C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD97C8 | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95A4CA
Deuteranopia (green-blind)
#A2ABC6
Tritanopia (blue-blind)
#D19AA8
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cd97c8; /* rgb */ color: rgb(205, 151, 200); /* oklch */ color: oklch(74.3% 0.092 329.6);
Tailwind
colors: {
custom: {
50: '#ddb6d8',
500: '#cd97c8',
950: '#000000',
},
}SCSS
$custom: #cd97c8; $custom-light: #ddb6d8; $custom-dark: #000000;
JSON
{
"hex": "#cd97c8",
"rgb": {
"r": 205,
"g": 151,
"b": 200
},
"hsl": {
"h": 305.556,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.74345,
"c": 0.09174,
"h": 329.6
},
"luminance": 0.39282
}Semantic roles & 50–950 ramp
primary
#CD97C8
secondary
#D8E8DA
accent
#AE4338
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083