#CD99C8#CD99C8
#CD99C8 is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.7% C 0.088 H 329.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CD99C8 |
|---|---|
| RGB | rgb(205, 153, 200) |
| HSL | hsl(306, 34%, 70%) |
| HSV | hsv(306, 25%, 80%) |
| CMYK | cmyk(0%, 25.4%, 2.4%, 19.6%) |
| CIE-LAB | lab(69.42, 27.17, -16.57) |
| CIE-LCH | lch(69.42, 31.82, 328.63°) |
| OKLab | oklab(74.7% 0.0761 -0.0445) |
| OKLCH | oklch(74.7% 0.088 329.7) |
| XYZ | xyz(46.9925, 39.9332, 59.8649) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.53
Plum
#DDA0DD
ΔE00 4.28
Lavender Pink
#DD85D7
ΔE00 7.65
Pale Purple
#B790D4
ΔE00 7.69
Dusty Lavender
#AC86A8
ΔE00 8.21
Lavender
#B39DDB
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD99C8 #99CD9E
analogous
#B899CD #CD99C8 #CD99AE
triadic
#CD99C8 #C8CD99 #99C8CD
tetradic
#CD99C8 #CDB899 #99CD9E #99AECD
square
#CD99C8 #CDB899 #99CD9E #99AECD
split-complementary
#CD99C8 #AECD99 #99CDB8
monochromatic
#9E4D96 #B970B2 #CD99C8 #E1C2DE #F5EAF4
Accessibility & contrast
On white
2.34
#CD99C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#CD99C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD99C8
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD99C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD99C8 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97A5CA
Deuteranopia (green-blind)
#A3ACC6
Tritanopia (blue-blind)
#D19CA9
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cd99c8; /* rgb */ color: rgb(205, 153, 200); /* oklch */ color: oklch(74.7% 0.088 329.7);
Tailwind
colors: {
custom: {
50: '#ddb7d8',
500: '#cd99c8',
950: '#000000',
},
}SCSS
$custom: #cd99c8; $custom-light: #ddb7d8; $custom-dark: #000000;
JSON
{
"hex": "#cd99c8",
"rgb": {
"r": 205,
"g": 153,
"b": 200
},
"hsl": {
"h": 305.769,
"s": 34.211,
"l": 70.196
},
"oklch": {
"l": 0.74702,
"c": 0.08812,
"h": 329.7
},
"luminance": 0.39932
}Semantic roles & 50–950 ramp
primary
#CD99C8
secondary
#DAE8DB
accent
#AD4438
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083