#A98FEE#A98FEE
#A98FEE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.137 H 295.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A98FEE |
|---|---|
| RGB | rgb(169, 143, 238) |
| HSL | hsl(256, 74%, 75%) |
| HSV | hsv(256, 40%, 93%) |
| CMYK | cmyk(29%, 39.9%, 0%, 6.7%) |
| CIE-LAB | lab(65.16, 29.83, -44.43) |
| CIE-LCH | lch(65.16, 53.51, 303.88°) |
| OKLab | oklab(71.15% 0.0587 -0.1242) |
| OKLCH | oklch(71.15% 0.137 295.3) |
| XYZ | xyz(41.6135, 34.2524, 85.2913) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.42
Perrywinkle
#8F8CE7
ΔE00 5.48
Baby Purple
#CA9BF7
ΔE00 6.75
Pastel Purple
#CAA0FF
ΔE00 6.85
Lavender Blue
#8B88F8
ΔE00 6.85
Lavender
#B39DDB
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98FEE #D4EE8F
analogous
#8FA5EE #A98FEE #D88FEE
triadic
#A98FEE #EEA98F #8FEEA9
tetradic
#A98FEE #EE8FA5 #D4EE8F #8FEED8
square
#A98FEE #EE8FA5 #D4EE8F #8FEED8
split-complementary
#A98FEE #EED88F #A5EE8F
monochromatic
#5725DE #805AE6 #A98FEE #D2C4F6 #EBE4FB
Accessibility & contrast
On white
2.67
#A98FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#A98FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A98FEE
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98FEE | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#9AA0B3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a98fee; /* rgb */ color: rgb(169, 143, 238); /* oklch */ color: oklch(71.2% 0.137 295.3);
Tailwind
colors: {
custom: {
50: '#c4b0f4',
500: '#a98fee',
950: '#000000',
},
}SCSS
$custom: #a98fee; $custom-light: #c4b0f4; $custom-dark: #000000;
JSON
{
"hex": "#a98fee",
"rgb": {
"r": 169,
"g": 143,
"b": 238
},
"hsl": {
"h": 256.421,
"s": 73.643,
"l": 74.706
},
"oklch": {
"l": 0.71153,
"c": 0.13738,
"h": 295.3
},
"luminance": 0.34253
}Semantic roles & 50–950 ramp
primary
#A98FEE
secondary
#EBF3D8
accent
#D610A0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85