#A998F2#A998F2
#A998F2 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.0% C 0.129 H 291.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A998F2 |
|---|---|
| RGB | rgb(169, 152, 242) |
| HSL | hsl(251, 78%, 77%) |
| HSV | hsv(251, 37%, 95%) |
| CMYK | cmyk(30.2%, 37.2%, 0%, 5.1%) |
| CIE-LAB | lab(67.50, 25.73, -42.95) |
| CIE-LCH | lch(67.50, 50.07, 300.92°) |
| OKLab | oklab(72.99% 0.0474 -0.1199) |
| OKLCH | oklch(72.99% 0.129 291.5) |
| XYZ | xyz(43.6134, 37.3015, 88.8893) |
| Luminance | 0.3730 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.53
Lavender
#B39DDB
ΔE00 6.42
Pastel Purple
#CAA0FF
ΔE00 6.46
Periwinkle Blue
#8F99FB
ΔE00 6.55
Liliac
#C48EFD
ΔE00 6.77
Baby Purple
#CA9BF7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A998F2 #E1F298
analogous
#98B4F2 #A998F2 #D698F2
triadic
#A998F2 #F2A998 #98F2A9
tetradic
#A998F2 #F298B4 #E1F298 #98F2D6
square
#A998F2 #F298B4 #E1F298 #98F2D6
split-complementary
#A998F2 #F2D698 #B4F298
monochromatic
#4E2BE4 #7C62EB #A998F2 #D6CEF9 #E8E4FC
Accessibility & contrast
On white
2.48
#A998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#A998F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A998F2
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A998F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A998F2 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#7FA3F0
Tritanopia (blue-blind)
#98A8BA
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a998f2; /* rgb */ color: rgb(169, 152, 242); /* oklch */ color: oklch(73.0% 0.129 291.5);
Tailwind
colors: {
custom: {
50: '#c4b6f6',
500: '#a998f2',
950: '#000000',
},
}SCSS
$custom: #a998f2; $custom-light: #c4b6f6; $custom-dark: #000000;
JSON
{
"hex": "#a998f2",
"rgb": {
"r": 169,
"g": 152,
"b": 242
},
"hsl": {
"h": 251.333,
"s": 77.586,
"l": 77.255
},
"oklch": {
"l": 0.72993,
"c": 0.12896,
"h": 291.5
},
"luminance": 0.37302
}Semantic roles & 50–950 ramp
primary
#A998F2
secondary
#EEF3D8
accent
#DA0CB3
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085