#A97EF2#A97EF2
#A97EF2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.169 H 299.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A97EF2 |
|---|---|
| RGB | rgb(169, 126, 242) |
| HSL | hsl(262, 82%, 72%) |
| HSV | hsv(262, 48%, 95%) |
| CMYK | cmyk(30.2%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(61.45, 40.37, -52.50) |
| CIE-LCH | lch(61.45, 66.22, 307.56°) |
| OKLab | oklab(68.42% 0.0818 -0.1477) |
| OKLCH | oklch(68.42% 0.169 299) |
| XYZ | xyz(39.8462, 29.7672, 87.6336) |
| Luminance | 0.2977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.20
Light Purple
#BF77F6
ΔE00 4.51
Easter Purple
#C071FE
ΔE00 5.19
Mediumpurple
#9370DB
ΔE00 5.97
Liliac
#C48EFD
ΔE00 6.07
Periwinkle (survey)
#8E82FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A97EF2 #C7F27E
analogous
#7E8DF2 #A97EF2 #E37EF2
triadic
#A97EF2 #F2A97E #7EF2A9
tetradic
#A97EF2 #F27E8D #C7F27E #7EF2E3
square
#A97EF2 #F27E8D #C7F27E #7EF2E3
split-complementary
#A97EF2 #F2E37E #8DF27E
monochromatic
#6116DF #8446EC #A97EF2 #CEB6F8 #ECE3FC
Accessibility & contrast
On white
3.02
#A97EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#A97EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A97EF2
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A97EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A97EF2 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9A94AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a97ef2; /* rgb */ color: rgb(169, 126, 242); /* oklch */ color: oklch(68.4% 0.169 299.0);
Tailwind
colors: {
custom: {
50: '#c5a4f7',
500: '#a97ef2',
950: '#000000',
},
}SCSS
$custom: #a97ef2; $custom-light: #c5a4f7; $custom-dark: #000000;
JSON
{
"hex": "#a97ef2",
"rgb": {
"r": 169,
"g": 126,
"b": 242
},
"hsl": {
"h": 262.241,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.68423,
"c": 0.16885,
"h": 299
},
"luminance": 0.29768
}Semantic roles & 50–950 ramp
primary
#A97EF2
secondary
#E9F4D7
accent
#DE078F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85