#D99CDC#D99CDC
#D99CDC is a light, moderate purple. Relative luminance 0.437; OKLCH L 77.2% C 0.111 H 325.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D99CDC |
|---|---|
| RGB | rgb(217, 156, 220) |
| HSL | hsl(297, 48%, 74%) |
| HSV | hsv(297, 29%, 86%) |
| CMYK | cmyk(1.4%, 29.1%, 0%, 13.7%) |
| CIE-LAB | lab(72.03, 33.21, -23.53) |
| CIE-LCH | lch(72.03, 40.70, 324.68°) |
| OKLab | oklab(77.2% 0.0911 -0.0637) |
| OKLCH | oklch(77.2% 0.111 325) |
| XYZ | xyz(53.4207, 43.6976, 73.3167) |
| Luminance | 0.4370 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 1.25
Lavender Pink
#DD85D7
ΔE00 5.77
Lilac
#C8A2C8
ΔE00 6.47
Lavender (survey)
#C79FEF
ΔE00 6.84
Mauve
#E0B0FF
ΔE00 6.99
Pale Purple
#B790D4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D99CDC #9FDC9C
analogous
#B99CDC #D99CDC #DC9CBF
triadic
#D99CDC #DCD99C #9CDCD9
tetradic
#D99CDC #DCB99C #9FDC9C #9CBFDC
square
#D99CDC #DCB99C #9FDC9C #9CBFDC
split-complementary
#D99CDC #BFDC9C #9CDCB9
monochromatic
#B642BB #C86FCC #D99CDC #EAC9EC #F6E8F7
Accessibility & contrast
On white
2.16
#D99CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#D99CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D99CDC
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D99CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D99CDC | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#A5B3DA
Tritanopia (blue-blind)
#DCA2B3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #d99cdc; /* rgb */ color: rgb(217, 156, 220); /* oklch */ color: oklch(77.2% 0.111 325.0);
Tailwind
colors: {
custom: {
50: '#e5bae7',
500: '#d99cdc',
950: '#000000',
},
}SCSS
$custom: #d99cdc; $custom-light: #e5bae7; $custom-dark: #000000;
JSON
{
"hex": "#d99cdc",
"rgb": {
"r": 217,
"g": 156,
"b": 220
},
"hsl": {
"h": 297.188,
"s": 47.761,
"l": 73.725
},
"oklch": {
"l": 0.77197,
"c": 0.11118,
"h": 325
},
"luminance": 0.43696
}Semantic roles & 50–950 ramp
primary
#D99CDC
secondary
#DEEEDD
accent
#BB2A31
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084