#A997F2#A997F2
#A997F2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.8% C 0.130 H 291.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A997F2 |
|---|---|
| RGB | rgb(169, 151, 242) |
| HSL | hsl(252, 78%, 77%) |
| HSV | hsv(252, 38%, 95%) |
| CMYK | cmyk(30.2%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(67.26, 26.29, -43.33) |
| CIE-LCH | lch(67.26, 50.69, 301.25°) |
| OKLab | oklab(72.81% 0.0487 -0.121) |
| OKLCH | oklch(72.81% 0.13 291.9) |
| XYZ | xyz(43.4518, 36.9782, 88.8354) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.46
Pastel Purple
#CAA0FF
ΔE00 6.45
Lavender
#B39DDB
ΔE00 6.50
Liliac
#C48EFD
ΔE00 6.57
Periwinkle Blue
#8F99FB
ΔE00 6.65
Baby Purple
#CA9BF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A997F2 #E0F297
analogous
#97B3F2 #A997F2 #D797F2
triadic
#A997F2 #F2A997 #97F2A9
tetradic
#A997F2 #F297B3 #E0F297 #97F2D7
square
#A997F2 #F297B3 #E0F297 #97F2D7
split-complementary
#A997F2 #F2D797 #B3F297
monochromatic
#4F2AE4 #7C61EB #A997F2 #D6CDF9 #E9E4FC
Accessibility & contrast
On white
2.50
#A997F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A997F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A997F2
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A997F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A997F2 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#98A7B9
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a997f2; /* rgb */ color: rgb(169, 151, 242); /* oklch */ color: oklch(72.8% 0.130 291.9);
Tailwind
colors: {
custom: {
50: '#c4b5f6',
500: '#a997f2',
950: '#000000',
},
}SCSS
$custom: #a997f2; $custom-light: #c4b5f6; $custom-dark: #000000;
JSON
{
"hex": "#a997f2",
"rgb": {
"r": 169,
"g": 151,
"b": 242
},
"hsl": {
"h": 251.868,
"s": 77.778,
"l": 77.059
},
"oklch": {
"l": 0.72808,
"c": 0.13047,
"h": 291.9
},
"luminance": 0.36979
}Semantic roles & 50–950 ramp
primary
#A997F2
secondary
#EEF3D8
accent
#DA0BB1
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085