#DD98F2#DD98F2
#DD98F2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.8% C 0.144 H 318.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #DD98F2 |
|---|---|
| RGB | rgb(221, 152, 242) |
| HSL | hsl(286, 78%, 77%) |
| HSV | hsv(286, 37%, 95%) |
| CMYK | cmyk(8.7%, 37.2%, 0%, 5.1%) |
| CIE-LAB | lab(72.39, 40.84, -34.97) |
| CIE-LCH | lch(72.39, 53.76, 319.43°) |
| OKLab | oklab(77.84% 0.107 -0.096) |
| OKLCH | oklch(77.84% 0.144 318.1) |
| XYZ | xyz(57.0718, 44.2410, 89.5201) |
| Luminance | 0.4424 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.53
Lilac (survey)
#CEA2FD
ΔE00 5.08
Lavender (survey)
#C79FEF
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.66
Plum
#DDA0DD
ΔE00 5.67
Mauve
#E0B0FF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DD98F2 #ADF298
analogous
#B098F2 #DD98F2 #F298DA
triadic
#DD98F2 #F2DD98 #98F2DD
tetradic
#DD98F2 #F2B098 #ADF298 #98DAF2
square
#DD98F2 #F2B098 #ADF298 #98DAF2
split-complementary
#DD98F2 #DAF298 #98F2B0
monochromatic
#B92BE4 #CB62EB #DD98F2 #EFCEF9 #F6E4FC
Accessibility & contrast
On white
2.13
#DD98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#DD98F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DD98F2
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DD98F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DD98F2 | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#DDA3BA
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #dd98f2; /* rgb */ color: rgb(221, 152, 242); /* oklch */ color: oklch(77.8% 0.144 318.1);
Tailwind
colors: {
custom: {
50: '#e9b7f6',
500: '#dd98f2',
950: '#000000',
},
}SCSS
$custom: #dd98f2; $custom-light: #e9b7f6; $custom-dark: #000000;
JSON
{
"hex": "#dd98f2",
"rgb": {
"r": 221,
"g": 152,
"b": 242
},
"hsl": {
"h": 286,
"s": 77.586,
"l": 77.255
},
"oklch": {
"l": 0.7784,
"c": 0.14374,
"h": 318.1
},
"luminance": 0.44239
}Semantic roles & 50–950 ramp
primary
#DD98F2
secondary
#DEF3D8
accent
#DA0C3C
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085