#DF9CDC#DF9CDC
#DF9CDC is a light, moderate purple. Relative luminance 0.446; OKLCH L 77.8% C 0.115 H 328.1°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DF9CDC |
|---|---|
| RGB | rgb(223, 156, 220) |
| HSL | hsl(303, 51%, 74%) |
| HSV | hsv(303, 30%, 87%) |
| CMYK | cmyk(0%, 30%, 1.3%, 12.5%) |
| CIE-LAB | lab(72.65, 35.14, -22.52) |
| CIE-LCH | lch(72.65, 41.74, 327.35°) |
| OKLab | oklab(77.81% 0.0979 -0.0608) |
| OKLCH | oklch(77.81% 0.115 328.1) |
| XYZ | xyz(55.2371, 44.6342, 73.4019) |
| Luminance | 0.4463 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 1.18
Lavender Pink
#DD85D7
ΔE00 5.62
Lilac
#C8A2C8
ΔE00 6.92
Mauve
#E0B0FF
ΔE00 7.49
Violet (CSS)
#EE82EE
ΔE00 7.75
Lavender (survey)
#C79FEF
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF9CDC #9CDF9F
analogous
#C19CDF #DF9CDC #DF9CBB
triadic
#DF9CDC #DCDF9C #9CDCDF
tetradic
#DF9CDC #DFC19C #9CDF9F #9CBBDF
square
#DF9CDC #DFC19C #9CDF9F #9CBBDF
split-complementary
#DF9CDC #BBDF9C #9CDFC1
monochromatic
#C140BB #D06ECC #DF9CDC #EECAEC #F8E8F7
Accessibility & contrast
On white
2.12
#DF9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#DF9CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF9CDC
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF9CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF9CDC | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98ADDE
Deuteranopia (green-blind)
#A8B5DA
Tritanopia (blue-blind)
#E4A1B3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #df9cdc; /* rgb */ color: rgb(223, 156, 220); /* oklch */ color: oklch(77.8% 0.115 328.1);
Tailwind
colors: {
custom: {
50: '#eabae7',
500: '#df9cdc',
950: '#000000',
},
}SCSS
$custom: #df9cdc; $custom-light: #eabae7; $custom-dark: #000000;
JSON
{
"hex": "#df9cdc",
"rgb": {
"r": 223,
"g": 156,
"b": 220
},
"hsl": {
"h": 302.687,
"s": 51.145,
"l": 74.314
},
"oklch": {
"l": 0.77813,
"c": 0.11524,
"h": 328.1
},
"luminance": 0.44632
}Semantic roles & 50–950 ramp
primary
#DF9CDC
secondary
#DCEFDD
accent
#BF2E27
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084