#D99CD9#D99CD9
#D99CD9 is a light, moderate purple. Relative luminance 0.435; OKLCH L 77.1% C 0.108 H 326.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D99CD9 |
|---|---|
| RGB | rgb(217, 156, 217) |
| HSL | hsl(300, 45%, 73%) |
| HSV | hsv(300, 28%, 85%) |
| CMYK | cmyk(0%, 28.1%, 0%, 14.9%) |
| CIE-LAB | lab(71.92, 32.65, -22.04) |
| CIE-LCH | lch(71.92, 39.39, 325.97°) |
| OKLab | oklab(77.08% 0.0902 -0.0596) |
| OKLCH | oklch(77.08% 0.108 326.6) |
| XYZ | xyz(53.0269, 43.5401, 71.2430) |
| Luminance | 0.4354 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 1.09
Lavender Pink
#DD85D7
ΔE00 5.93
Lilac
#C8A2C8
ΔE00 6.01
Lavender (survey)
#C79FEF
ΔE00 7.43
Mauve
#E0B0FF
ΔE00 7.51
Pale Purple
#B790D4
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D99CD9 #9CD99C
analogous
#BA9CD9 #D99CD9 #D99CBA
triadic
#D99CD9 #D9D99C #9CD9D9
tetradic
#D99CD9 #D9BA9C #9CD99C #9CBAD9
square
#D99CD9 #D9BA9C #9CD99C #9CBAD9
split-complementary
#D99CD9 #BAD99C #9CD9BA
monochromatic
#B546B5 #C870C8 #D99CD9 #EAC8EA #F7E9F7
Accessibility & contrast
On white
2.16
#D99CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#D99CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D99CD9
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D99CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D99CD9 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98ABDB
Deuteranopia (green-blind)
#A6B3D7
Tritanopia (blue-blind)
#DDA1B2
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d99cd9; /* rgb */ color: rgb(217, 156, 217); /* oklch */ color: oklch(77.1% 0.108 326.6);
Tailwind
colors: {
custom: {
50: '#e5bae4',
500: '#d99cd9',
950: '#000000',
},
}SCSS
$custom: #d99cd9; $custom-light: #e5bae4; $custom-dark: #000000;
JSON
{
"hex": "#d99cd9",
"rgb": {
"r": 217,
"g": 156,
"b": 217
},
"hsl": {
"h": 300,
"s": 44.526,
"l": 73.137
},
"oklch": {
"l": 0.77081,
"c": 0.10814,
"h": 326.6
},
"luminance": 0.43538
}Semantic roles & 50–950 ramp
primary
#D99CD9
secondary
#DEEDDE
accent
#B82E2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083