#DC98F8#DC98F8
#DC98F8 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.0% C 0.150 H 315.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #DC98F8 |
|---|---|
| RGB | rgb(220, 152, 248) |
| HSL | hsl(283, 87%, 78%) |
| HSV | hsv(283, 39%, 97%) |
| CMYK | cmyk(11.3%, 38.7%, 0%, 2.7%) |
| CIE-LAB | lab(72.53, 41.74, -38.02) |
| CIE-LCH | lch(72.53, 56.46, 317.67°) |
| OKLab | oklab(78% 0.1071 -0.1048) |
| OKLCH | oklch(78% 0.15 315.6) |
| XYZ | xyz(57.6841, 44.4508, 94.3299) |
| Luminance | 0.4445 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.80
Lilac (survey)
#CEA2FD
ΔE00 4.35
Lavender (survey)
#C79FEF
ΔE00 4.81
Pastel Purple
#CAA0FF
ΔE00 4.97
Liliac
#C48EFD
ΔE00 5.71
Mauve
#E0B0FF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC98F8 #B4F898
analogous
#AC98F8 #DC98F8 #F898E4
triadic
#DC98F8 #F8DC98 #98F8DC
tetradic
#DC98F8 #F8AC98 #B4F898 #98E4F8
square
#DC98F8 #F8AC98 #B4F898 #98E4F8
split-complementary
#DC98F8 #E4F898 #98F8AC
monochromatic
#B525F0 #C95FF4 #DC98F8 #EFD1FC #F5E2FD
Accessibility & contrast
On white
2.12
#DC98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#DC98F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC98F8
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC98F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC98F8 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88AEFC
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#DBA5BC
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #dc98f8; /* rgb */ color: rgb(220, 152, 248); /* oklch */ color: oklch(78.0% 0.150 315.6);
Tailwind
colors: {
custom: {
50: '#e8b7fb',
500: '#dc98f8',
950: '#000000',
},
}SCSS
$custom: #dc98f8; $custom-light: #e8b7fb; $custom-dark: #000000;
JSON
{
"hex": "#dc98f8",
"rgb": {
"r": 220,
"g": 152,
"b": 248
},
"hsl": {
"h": 282.5,
"s": 87.273,
"l": 78.431
},
"oklch": {
"l": 0.78001,
"c": 0.14982,
"h": 315.6
},
"luminance": 0.44449
}Semantic roles & 50–950 ramp
primary
#DC98F8
secondary
#DFF5D6
accent
#E40244
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085