#D498FF#D498FF
#D498FF is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.5% C 0.154 H 310.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D498FF |
|---|---|
| RGB | rgb(212, 152, 255) |
| HSL | hsl(275, 100%, 80%) |
| HSV | hsv(275, 40%, 100%) |
| CMYK | cmyk(16.9%, 40.4%, 0%, 0%) |
| CIE-LAB | lab(72.01, 40.87, -42.69) |
| CIE-LCH | lch(72.01, 59.10, 313.75°) |
| OKLab | oklab(77.52% 0.0993 -0.1183) |
| OKLCH | oklch(77.52% 0.154 310) |
| XYZ | xyz(56.4263, 43.6743, 100.0458) |
| Luminance | 0.4367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.31
Lilac (survey)
#CEA2FD
ΔE00 3.05
Pastel Purple
#CAA0FF
ΔE00 3.14
Liliac
#C48EFD
ΔE00 3.71
Lavender (survey)
#C79FEF
ΔE00 4.18
Mauve
#E0B0FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D498FF #C3FF98
analogous
#A098FF #D498FF #FF98F7
triadic
#D498FF #FFD498 #98FFD4
tetradic
#D498FF #FFA098 #C3FF98 #98F7FF
square
#D498FF #FFA098 #C3FF98 #98F7FF
split-complementary
#D498FF #F7FF98 #98FFA0
monochromatic
#A11EFF #BA5BFF #D498FF #EED5FF #F2E0FF
Accessibility & contrast
On white
2.16
#D498FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#D498FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D498FF
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D498FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D498FF | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#91B2FC
Tritanopia (blue-blind)
#CFA7C0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d498ff; /* rgb */ color: rgb(212, 152, 255); /* oklch */ color: oklch(77.5% 0.154 310.0);
Tailwind
colors: {
custom: {
50: '#e3b7ff',
500: '#d498ff',
950: '#000000',
},
}SCSS
$custom: #d498ff; $custom-light: #e3b7ff; $custom-dark: #000000;
JSON
{
"hex": "#d498ff",
"rgb": {
"r": 212,
"g": 152,
"b": 255
},
"hsl": {
"h": 274.951,
"s": 100,
"l": 79.804
},
"oklch": {
"l": 0.77523,
"c": 0.15446,
"h": 310
},
"luminance": 0.43674
}Semantic roles & 50–950 ramp
primary
#D498FF
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086