#A97FF2#A97FF2
#A97FF2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.167 H 298.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A97FF2 |
|---|---|
| RGB | rgb(169, 127, 242) |
| HSL | hsl(262, 82%, 72%) |
| HSV | hsv(262, 48%, 95%) |
| CMYK | cmyk(30.2%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.68, 39.81, -52.15) |
| CIE-LCH | lch(61.68, 65.60, 307.36°) |
| OKLab | oklab(68.59% 0.0805 -0.1467) |
| OKLCH | oklch(68.59% 0.167 298.8) |
| XYZ | xyz(39.9748, 30.0242, 87.6764) |
| Luminance | 0.3003 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.44
Light Purple
#BF77F6
ΔE00 4.63
Easter Purple
#C071FE
ΔE00 5.36
Liliac
#C48EFD
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 6.12
Periwinkle (survey)
#8E82FE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A97FF2 #C8F27F
analogous
#7F8FF2 #A97FF2 #E27FF2
triadic
#A97FF2 #F2A97F #7FF2A9
tetradic
#A97FF2 #F27F8F #C8F27F #7FF2E2
square
#A97FF2 #F27F8F #C8F27F #7FF2E2
split-complementary
#A97FF2 #F2E27F #8FF27F
monochromatic
#6017E0 #8447EC #A97FF2 #CEB7F8 #ECE3FC
Accessibility & contrast
On white
3.00
#A97FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#A97FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A97FF2
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A97FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A97FF2 | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9A94AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a97ff2; /* rgb */ color: rgb(169, 127, 242); /* oklch */ color: oklch(68.6% 0.167 298.8);
Tailwind
colors: {
custom: {
50: '#c5a5f7',
500: '#a97ff2',
950: '#000000',
},
}SCSS
$custom: #a97ff2; $custom-light: #c5a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a97ff2",
"rgb": {
"r": 169,
"g": 127,
"b": 242
},
"hsl": {
"h": 261.913,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68589,
"c": 0.16731,
"h": 298.8
},
"luminance": 0.30025
}Semantic roles & 50–950 ramp
primary
#A97FF2
secondary
#E9F4D7
accent
#DE0890
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85