#D498FE#D498FE
#D498FE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.5% C 0.153 H 310.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D498FE |
|---|---|
| RGB | rgb(212, 152, 254) |
| HSL | hsl(275, 98%, 80%) |
| HSV | hsv(275, 40%, 100%) |
| CMYK | cmyk(16.5%, 40.2%, 0%, 0.4%) |
| CIE-LAB | lab(71.97, 40.66, -42.22) |
| CIE-LCH | lch(71.97, 58.61, 313.92°) |
| OKLab | oklab(77.48% 0.0991 -0.117) |
| OKLCH | oklch(77.48% 0.153 310.3) |
| XYZ | xyz(56.2658, 43.6101, 99.2002) |
| Luminance | 0.4361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.26
Lilac (survey)
#CEA2FD
ΔE00 3.03
Pastel Purple
#CAA0FF
ΔE00 3.18
Liliac
#C48EFD
ΔE00 3.79
Lavender (survey)
#C79FEF
ΔE00 4.09
Mauve
#E0B0FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D498FE #C2FE98
analogous
#A198FE #D498FE #FE98F5
triadic
#D498FE #FED498 #98FED4
tetradic
#D498FE #FEA198 #C2FE98 #98F5FE
square
#D498FE #FEA198 #C2FE98 #98F5FE
split-complementary
#D498FE #F5FE98 #98FEA1
monochromatic
#A11FFD #BB5BFD #D498FE #EDD5FF #F2E1FF
Accessibility & contrast
On white
2.16
#D498FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#D498FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D498FE
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D498FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D498FE | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#CFA7BF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d498fe; /* rgb */ color: rgb(212, 152, 254); /* oklch */ color: oklch(77.5% 0.153 310.3);
Tailwind
colors: {
custom: {
50: '#e3b7ff',
500: '#d498fe',
950: '#000000',
},
}SCSS
$custom: #d498fe; $custom-light: #e3b7ff; $custom-dark: #000000;
JSON
{
"hex": "#d498fe",
"rgb": {
"r": 212,
"g": 152,
"b": 254
},
"hsl": {
"h": 275.294,
"s": 98.077,
"l": 79.608
},
"oklch": {
"l": 0.77476,
"c": 0.1533,
"h": 310.3
},
"luminance": 0.43609
}Semantic roles & 50–950 ramp
primary
#D498FE
secondary
#E2F7D4
accent
#E6005F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086