#CD98D2#CD98D2
#CD98D2 is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.100 H 323.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CD98D2 |
|---|---|
| RGB | rgb(205, 152, 210) |
| HSL | hsl(295, 39%, 71%) |
| HSV | hsv(295, 28%, 82%) |
| CMYK | cmyk(2.4%, 27.6%, 0%, 17.6%) |
| CIE-LAB | lab(69.53, 29.59, -21.93) |
| CIE-LCH | lch(69.53, 36.84, 323.46°) |
| OKLab | oklab(74.9% 0.0806 -0.0594) |
| OKLCH | oklch(74.9% 0.1 323.6) |
| XYZ | xyz(48.0366, 40.0901, 66.1680) |
| Luminance | 0.4009 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.21
Lilac
#C8A2C8
ΔE00 5.22
Pale Purple
#B790D4
ΔE00 5.67
Lavender Pink
#DD85D7
ΔE00 6.18
Lavender (survey)
#C79FEF
ΔE00 6.93
Lavender
#B39DDB
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD98D2 #9DD298
analogous
#B098D2 #CD98D2 #D298BA
triadic
#CD98D2 #D2CD98 #98D2CD
tetradic
#CD98D2 #D2B098 #9DD298 #98BAD2
square
#CD98D2 #D2B098 #9DD298 #98BAD2
split-complementary
#CD98D2 #BAD298 #98D2B0
monochromatic
#9F49A7 #B86DBF #CD98D2 #E2C3E5 #F5EAF6
Accessibility & contrast
On white
2.33
#CD98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#CD98D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD98D2
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD98D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD98D2 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#CF9DAD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #cd98d2; /* rgb */ color: rgb(205, 152, 210); /* oklch */ color: oklch(74.9% 0.100 323.6);
Tailwind
colors: {
custom: {
50: '#ddb7e0',
500: '#cd98d2',
950: '#000000',
},
}SCSS
$custom: #cd98d2; $custom-light: #ddb7e0; $custom-dark: #000000;
JSON
{
"hex": "#cd98d2",
"rgb": {
"r": 205,
"g": 152,
"b": 210
},
"hsl": {
"h": 294.828,
"s": 39.189,
"l": 70.98
},
"oklch": {
"l": 0.74901,
"c": 0.10012,
"h": 323.6
},
"luminance": 0.40089
}Semantic roles & 50–950 ramp
primary
#CD98D2
secondary
#DDEBDB
accent
#B2333E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083