#A98CE8#A98CE8
#A98CE8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.134 H 297.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A98CE8 |
|---|---|
| RGB | rgb(169, 140, 232) |
| HSL | hsl(259, 67%, 73%) |
| HSV | hsv(259, 40%, 91%) |
| CMYK | cmyk(27.2%, 39.7%, 0%, 9%) |
| CIE-LAB | lab(64.17, 30.06, -42.67) |
| CIE-LCH | lch(64.17, 52.19, 305.16°) |
| OKLab | oklab(70.31% 0.0616 -0.1191) |
| OKLCH | oklch(70.31% 0.134 297.4) |
| XYZ | xyz(40.3023, 33.0170, 80.5779) |
| Luminance | 0.3302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 5.96
Pale Purple
#B790D4
ΔE00 6.37
Baby Purple
#CA9BF7
ΔE00 6.81
Lavender
#B39DDB
ΔE00 6.85
Pastel Purple
#CAA0FF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98CE8 #CBE88C
analogous
#8C9DE8 #A98CE8 #D78CE8
triadic
#A98CE8 #E8A98C #8CE8A9
tetradic
#A98CE8 #E88C9D #CBE88C #8CE8D7
square
#A98CE8 #E88C9D #CBE88C #8CE8D7
split-complementary
#A98CE8 #E8D78C #9DE88C
monochromatic
#5E2AD0 #8359DE #A98CE8 #CFBFF2 #ECE5FA
Accessibility & contrast
On white
2.76
#A98CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A98CE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A98CE8
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98CE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98CE8 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#9C9CAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a98ce8; /* rgb */ color: rgb(169, 140, 232); /* oklch */ color: oklch(70.3% 0.134 297.4);
Tailwind
colors: {
custom: {
50: '#c4aeef',
500: '#a98ce8',
950: '#000000',
},
}SCSS
$custom: #a98ce8; $custom-light: #c4aeef; $custom-dark: #000000;
JSON
{
"hex": "#a98ce8",
"rgb": {
"r": 169,
"g": 140,
"b": 232
},
"hsl": {
"h": 258.913,
"s": 66.667,
"l": 72.941
},
"oklch": {
"l": 0.70313,
"c": 0.13412,
"h": 297.4
},
"luminance": 0.33017
}Semantic roles & 50–950 ramp
primary
#A98CE8
secondary
#EAF1DA
accent
#CF1795
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84