#D98CDB#D98CDB
#D98CDB is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.5% C 0.138 H 326.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D98CDB |
|---|---|
| RGB | rgb(217, 140, 219) |
| HSL | hsl(298, 52%, 70%) |
| HSV | hsv(298, 36%, 86%) |
| CMYK | cmyk(0.9%, 36.1%, 0%, 14.1%) |
| CIE-LAB | lab(68.48, 41.58, -28.42) |
| CIE-LCH | lch(68.48, 50.36, 325.65°) |
| OKLab | oklab(74.5% 0.1146 -0.0774) |
| OKLCH | oklch(74.5% 0.138 326) |
| XYZ | xyz(50.7784, 38.6244, 71.7846) |
| Luminance | 0.3862 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 1.91
Violet (CSS)
#EE82EE
ΔE00 4.77
Plum
#DDA0DD
ΔE00 5.26
Purply Pink
#F075E6
ΔE00 6.06
Orchid
#DA70D6
ΔE00 6.29
Orchid (survey)
#C875C4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D98CDB #8EDB8C
analogous
#B18CDB #D98CDB #DB8CB5
triadic
#D98CDB #DBD98C #8CDBD9
tetradic
#D98CDB #DBB18C #8EDB8C #8CB5DB
square
#D98CDB #DBB18C #8EDB8C #8CB5DB
split-complementary
#D98CDB #B5DB8C #8CDBB1
monochromatic
#B138B4 #CA5DCC #D98CDB #E8BBEA #F7E8F8
Accessibility & contrast
On white
2.41
#D98CDB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#D98CDB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D98CDB
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D98CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D98CDB | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A1DE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#DD94AA
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d98cdb; /* rgb */ color: rgb(217, 140, 219); /* oklch */ color: oklch(74.5% 0.138 326.0);
Tailwind
colors: {
custom: {
50: '#e6afe6',
500: '#d98cdb',
950: '#000000',
},
}SCSS
$custom: #d98cdb; $custom-light: #e6afe6; $custom-dark: #000000;
JSON
{
"hex": "#d98cdb",
"rgb": {
"r": 217,
"g": 140,
"b": 219
},
"hsl": {
"h": 298.481,
"s": 52.318,
"l": 70.392
},
"oklch": {
"l": 0.74496,
"c": 0.13828,
"h": 326
},
"luminance": 0.38622
}Semantic roles & 50–950 ramp
primary
#D98CDB
secondary
#D7ECD7
accent
#C0262A
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161016
muted
#847F84