#D98EDD#D98EDD
#D98EDD is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.9% C 0.137 H 325.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D98EDD |
|---|---|
| RGB | rgb(217, 142, 221) |
| HSL | hsl(297, 54%, 71%) |
| HSV | hsv(297, 36%, 87%) |
| CMYK | cmyk(1.8%, 35.7%, 0%, 13.3%) |
| CIE-LAB | lab(68.98, 40.89, -28.75) |
| CIE-LCH | lch(68.98, 49.99, 324.89°) |
| OKLab | oklab(74.9% 0.1121 -0.0783) |
| OKLCH | oklch(74.9% 0.137 325.1) |
| XYZ | xyz(51.3382, 39.3201, 73.2779) |
| Luminance | 0.3932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.42
Violet (CSS)
#EE82EE
ΔE00 4.88
Plum
#DDA0DD
ΔE00 4.92
Purply Pink
#F075E6
ΔE00 6.37
Orchid
#DA70D6
ΔE00 6.73
Pale Purple
#B790D4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D98EDD #92DD8E
analogous
#B18EDD #D98EDD #DD8EB9
triadic
#D98EDD #DDD98E #8EDDD9
tetradic
#D98EDD #DDB18E #92DD8E #8EB9DD
square
#D98EDD #DDB18E #92DD8E #8EB9DD
split-complementary
#D98EDD #B9DD8E #8EDDB1
monochromatic
#B238B9 #C95FCF #D98EDD #E9BDEB #F7E7F8
Accessibility & contrast
On white
2.37
#D98EDD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#D98EDD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D98EDD
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D98EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D98EDD | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87A3E0
Deuteranopia (green-blind)
#9AACDA
Tritanopia (blue-blind)
#DD96AC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d98edd; /* rgb */ color: rgb(217, 142, 221); /* oklch */ color: oklch(74.9% 0.137 325.1);
Tailwind
colors: {
custom: {
50: '#e6b0e7',
500: '#d98edd',
950: '#000000',
},
}SCSS
$custom: #d98edd; $custom-light: #e6b0e7; $custom-dark: #000000;
JSON
{
"hex": "#d98edd",
"rgb": {
"r": 217,
"g": 142,
"b": 221
},
"hsl": {
"h": 296.962,
"s": 53.741,
"l": 71.176
},
"oklch": {
"l": 0.74902,
"c": 0.13678,
"h": 325.1
},
"luminance": 0.39318
}Semantic roles & 50–950 ramp
primary
#D98EDD
secondary
#DAEED9
accent
#C1242C
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161116
muted
#848084