#D498FD#D498FD
#D498FD is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.4% C 0.152 H 310.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D498FD |
|---|---|
| RGB | rgb(212, 152, 253) |
| HSL | hsl(276, 96%, 79%) |
| HSV | hsv(276, 40%, 99%) |
| CMYK | cmyk(16.2%, 39.9%, 0%, 0.8%) |
| CIE-LAB | lab(71.92, 40.45, -41.74) |
| CIE-LCH | lch(71.92, 58.13, 314.10°) |
| OKLab | oklab(77.43% 0.0989 -0.1156) |
| OKLCH | oklch(77.43% 0.152 310.6) |
| XYZ | xyz(56.1061, 43.5462, 98.3591) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.22
Lilac (survey)
#CEA2FD
ΔE00 3.03
Pastel Purple
#CAA0FF
ΔE00 3.22
Liliac
#C48EFD
ΔE00 3.87
Lavender (survey)
#C79FEF
ΔE00 4.00
Mauve
#E0B0FF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D498FD #C1FD98
analogous
#A298FD #D498FD #FD98F3
triadic
#D498FD #FDD498 #98FDD4
tetradic
#D498FD #FDA298 #C1FD98 #98F3FD
square
#D498FD #FDA298 #C1FD98 #98F3FD
split-complementary
#D498FD #F3FD98 #98FDA2
monochromatic
#A220FB #BB5CFC #D498FD #EDD4FE #F2E1FE
Accessibility & contrast
On white
2.16
#D498FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#D498FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D498FD
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D498FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D498FD | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#CFA7BF
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d498fd; /* rgb */ color: rgb(212, 152, 253); /* oklch */ color: oklch(77.4% 0.152 310.6);
Tailwind
colors: {
custom: {
50: '#e3b7fe',
500: '#d498fd',
950: '#000000',
},
}SCSS
$custom: #d498fd; $custom-light: #e3b7fe; $custom-dark: #000000;
JSON
{
"hex": "#d498fd",
"rgb": {
"r": 212,
"g": 152,
"b": 253
},
"hsl": {
"h": 275.644,
"s": 96.19,
"l": 79.412
},
"oklch": {
"l": 0.7743,
"c": 0.15213,
"h": 310.6
},
"luminance": 0.43545
}Semantic roles & 50–950 ramp
primary
#D498FD
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086