#A998F5#A998F5
#A998F5 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.1% C 0.133 H 291.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A998F5 |
|---|---|
| RGB | rgb(169, 152, 245) |
| HSL | hsl(251, 82%, 78%) |
| HSV | hsv(251, 38%, 96%) |
| CMYK | cmyk(31%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(67.64, 26.48, -44.38) |
| CIE-LCH | lch(67.64, 51.68, 300.82°) |
| OKLab | oklab(73.14% 0.048 -0.1241) |
| OKLCH | oklch(73.14% 0.133 291.1) |
| XYZ | xyz(44.0676, 37.4832, 91.2817) |
| Luminance | 0.3748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.49
Periwinkle Blue
#8F99FB
ΔE00 6.29
Pastel Purple
#CAA0FF
ΔE00 6.53
Liliac
#C48EFD
ΔE00 6.74
Lavender
#B39DDB
ΔE00 6.90
Lavender Blue
#8B88F8
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A998F5 #E4F598
analogous
#98B5F5 #A998F5 #D898F5
triadic
#A998F5 #F5A998 #98F5A9
tetradic
#A998F5 #F598B5 #E4F598 #98F5D8
square
#A998F5 #F598B5 #E4F598 #98F5D8
split-complementary
#A998F5 #F5D898 #B5F598
monochromatic
#4C28EA #7A60F0 #A998F5 #D8D0FA #E8E3FC
Accessibility & contrast
On white
2.47
#A998F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A998F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A998F5
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A998F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A998F5 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA6F9
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#97A9BB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a998f5; /* rgb */ color: rgb(169, 152, 245); /* oklch */ color: oklch(73.1% 0.133 291.1);
Tailwind
colors: {
custom: {
50: '#c5b6f9',
500: '#a998f5',
950: '#000000',
},
}SCSS
$custom: #a998f5; $custom-light: #c5b6f9; $custom-dark: #000000;
JSON
{
"hex": "#a998f5",
"rgb": {
"r": 169,
"g": 152,
"b": 245
},
"hsl": {
"h": 250.968,
"s": 82.301,
"l": 77.843
},
"oklch": {
"l": 0.7314,
"c": 0.13304,
"h": 291.1
},
"luminance": 0.37484
}Semantic roles & 50–950 ramp
primary
#A998F5
secondary
#EFF4D7
accent
#DF07B7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085