#A97FE2#A97FE2
#A97FE2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.7% C 0.147 H 302.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A97FE2 |
|---|---|
| RGB | rgb(169, 127, 226) |
| HSL | hsl(265, 63%, 69%) |
| HSV | hsv(265, 44%, 89%) |
| CMYK | cmyk(25.2%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(60.87, 35.94, -44.53) |
| CIE-LCH | lch(60.87, 57.23, 308.90°) |
| OKLab | oklab(67.73% 0.0784 -0.1245) |
| OKLCH | oklch(67.73% 0.147 302.2) |
| XYZ | xyz(37.6760, 29.1047, 75.5697) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.05
Light Urple
#B36FF6
ΔE00 5.33
Mediumpurple
#9370DB
ΔE00 5.85
Easter Purple
#C071FE
ΔE00 6.29
Liliac
#C48EFD
ΔE00 6.31
Wisteria
#A87DC2
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A97FE2 #B8E27F
analogous
#7F87E2 #A97FE2 #DB7FE2
triadic
#A97FE2 #E2A97F #7FE2A9
tetradic
#A97FE2 #E27F87 #B8E27F #7FE2DB
square
#A97FE2 #E27F87 #B8E27F #7FE2DB
split-complementary
#A97FE2 #E2DB7F #87E27F
monochromatic
#682BBC #874DD7 #A97FE2 #CBB1ED #ECE3F9
Accessibility & contrast
On white
3.08
#A97FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#A97FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A97FE2
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A97FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A97FE2 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#6E93DF
Tritanopia (blue-blind)
#9F90A6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a97fe2; /* rgb */ color: rgb(169, 127, 226); /* oklch */ color: oklch(67.7% 0.147 302.2);
Tailwind
colors: {
custom: {
50: '#c4a5eb',
500: '#a97fe2',
950: '#000000',
},
}SCSS
$custom: #a97fe2; $custom-light: #c4a5eb; $custom-dark: #000000;
JSON
{
"hex": "#a97fe2",
"rgb": {
"r": 169,
"g": 127,
"b": 226
},
"hsl": {
"h": 265.455,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.67728,
"c": 0.14713,
"h": 302.2
},
"luminance": 0.29105
}Semantic roles & 50–950 ramp
primary
#A97FE2
secondary
#E1EDD0
accent
#CB1B80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84