#DC98FA#DC98FA
#DC98FA is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.1% C 0.152 H 315.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #DC98FA |
|---|---|
| RGB | rgb(220, 152, 250) |
| HSL | hsl(282, 91%, 79%) |
| HSV | hsv(282, 39%, 98%) |
| CMYK | cmyk(12%, 39.2%, 0%, 2%) |
| CIE-LAB | lab(72.61, 42.14, -38.98) |
| CIE-LCH | lch(72.61, 57.41, 317.23°) |
| OKLab | oklab(78.09% 0.1075 -0.1075) |
| OKLCH | oklch(78.09% 0.152 315) |
| XYZ | xyz(57.9961, 44.5756, 95.9727) |
| Luminance | 0.4457 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.68
Lilac (survey)
#CEA2FD
ΔE00 4.21
Pastel Purple
#CAA0FF
ΔE00 4.78
Lavender (survey)
#C79FEF
ΔE00 4.84
Liliac
#C48EFD
ΔE00 5.48
Mauve
#E0B0FF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC98FA #B6FA98
analogous
#AB98FA #DC98FA #FA98E7
triadic
#DC98FA #FADC98 #98FADC
tetradic
#DC98FA #FAAB98 #B6FA98 #98E7FA
square
#DC98FA #FAAB98 #B6FA98 #98E7FA
split-complementary
#DC98FA #E7FA98 #98FAAB
monochromatic
#B423F4 #C85EF7 #DC98FA #F0D2FD #F5E2FE
Accessibility & contrast
On white
2.12
#DC98FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#DC98FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC98FA
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC98FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC98FA | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#DAA5BD
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #dc98fa; /* rgb */ color: rgb(220, 152, 250); /* oklch */ color: oklch(78.1% 0.152 315.0);
Tailwind
colors: {
custom: {
50: '#e8b7fc',
500: '#dc98fa',
950: '#000000',
},
}SCSS
$custom: #dc98fa; $custom-light: #e8b7fc; $custom-dark: #000000;
JSON
{
"hex": "#dc98fa",
"rgb": {
"r": 220,
"g": 152,
"b": 250
},
"hsl": {
"h": 281.633,
"s": 90.741,
"l": 78.824
},
"oklch": {
"l": 0.78091,
"c": 0.15204,
"h": 315
},
"luminance": 0.44574
}Semantic roles & 50–950 ramp
primary
#DC98FA
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085