#A98FEB#A98FEB
#A98FEB is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.0% C 0.133 H 295.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A98FEB |
|---|---|
| RGB | rgb(169, 143, 235) |
| HSL | hsl(257, 70%, 74%) |
| HSV | hsv(257, 39%, 92%) |
| CMYK | cmyk(28.1%, 39.1%, 0%, 7.8%) |
| CIE-LAB | lab(65.02, 29.09, -42.99) |
| CIE-LCH | lch(65.02, 51.91, 304.08°) |
| OKLab | oklab(71% 0.0581 -0.1201) |
| OKLCH | oklch(71% 0.133 295.8) |
| XYZ | xyz(41.1764, 34.0776, 82.9894) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.51
Perrywinkle
#8F8CE7
ΔE00 5.61
Lavender
#B39DDB
ΔE00 6.61
Baby Purple
#CA9BF7
ΔE00 6.65
Pale Purple
#B790D4
ΔE00 6.74
Pastel Purple
#CAA0FF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98FEB #D1EB8F
analogous
#8FA3EB #A98FEB #D78FEB
triadic
#A98FEB #EBA98F #8FEBA9
tetradic
#A98FEB #EB8FA3 #D1EB8F #8FEBD7
square
#A98FEB #EB8FA3 #D1EB8F #8FEBD7
split-complementary
#A98FEB #EBD78F #A3EB8F
monochromatic
#5927D8 #815BE2 #A98FEB #D1C3F4 #EBE5FA
Accessibility & contrast
On white
2.69
#A98FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A98FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A98FEB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98FEB | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#9B9FB2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a98feb; /* rgb */ color: rgb(169, 143, 235); /* oklch */ color: oklch(71.0% 0.133 295.8);
Tailwind
colors: {
custom: {
50: '#c4b0f2',
500: '#a98feb',
950: '#000000',
},
}SCSS
$custom: #a98feb; $custom-light: #c4b0f2; $custom-dark: #000000;
JSON
{
"hex": "#a98feb",
"rgb": {
"r": 169,
"g": 143,
"b": 235
},
"hsl": {
"h": 256.957,
"s": 69.697,
"l": 74.118
},
"oklch": {
"l": 0.71002,
"c": 0.13338,
"h": 295.8
},
"luminance": 0.34078
}Semantic roles & 50–950 ramp
primary
#A98FEB
secondary
#EBF2D9
accent
#D2149C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85