#D99CD2#D99CD2
#D99CD2 is a light, moderate purple. Relative luminance 0.432; OKLCH L 76.8% C 0.101 H 330.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D99CD2 |
|---|---|
| RGB | rgb(217, 156, 210) |
| HSL | hsl(307, 45%, 73%) |
| HSV | hsv(307, 28%, 85%) |
| CMYK | cmyk(0%, 28.1%, 3.2%, 14.9%) |
| CIE-LAB | lab(71.68, 31.37, -18.56) |
| CIE-LCH | lch(71.68, 36.44, 329.39°) |
| OKLab | oklab(76.82% 0.0882 -0.0499) |
| OKLCH | oklch(76.82% 0.101 330.5) |
| XYZ | xyz(52.1357, 43.1836, 66.5492) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 2.13
Lilac
#C8A2C8
ΔE00 5.13
Lavender Pink
#DD85D7
ΔE00 6.63
Pale Purple
#B790D4
ΔE00 8.46
Mauve
#E0B0FF
ΔE00 8.87
Bubblegum Pink
#FE83CC
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D99CD2 #9CD9A3
analogous
#C19CD9 #D99CD2 #D99CB3
triadic
#D99CD2 #D2D99C #9CD2D9
tetradic
#D99CD2 #D9C19C #9CD9A3 #9CB3D9
square
#D99CD2 #D9C19C #9CD9A3 #9CB3D9
split-complementary
#D99CD2 #B3D99C #9CD9C1
monochromatic
#B546A8 #C870BE #D99CD2 #EAC8E6 #F7E9F5
Accessibility & contrast
On white
2.18
#D99CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#D99CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D99CD2
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D99CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D99CD2 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AABD4
Deuteranopia (green-blind)
#A8B3D0
Tritanopia (blue-blind)
#DEA0AF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d99cd2; /* rgb */ color: rgb(217, 156, 210); /* oklch */ color: oklch(76.8% 0.101 330.5);
Tailwind
colors: {
custom: {
50: '#e5badf',
500: '#d99cd2',
950: '#000000',
},
}SCSS
$custom: #d99cd2; $custom-light: #e5badf; $custom-dark: #000000;
JSON
{
"hex": "#d99cd2",
"rgb": {
"r": 217,
"g": 156,
"b": 210
},
"hsl": {
"h": 306.885,
"s": 44.526,
"l": 73.137
},
"oklch": {
"l": 0.76818,
"c": 0.10132,
"h": 330.5
},
"luminance": 0.43182
}Semantic roles & 50–950 ramp
primary
#D99CD2
secondary
#DEEDDF
accent
#B83E2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083