#A97DF1#A97DF1
#A97DF1 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.169 H 299.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A97DF1 |
|---|---|
| RGB | rgb(169, 125, 241) |
| HSL | hsl(263, 81%, 72%) |
| HSV | hsv(263, 48%, 95%) |
| CMYK | cmyk(29.9%, 48.1%, 0%, 5.5%) |
| CIE-LAB | lab(61.18, 40.68, -52.38) |
| CIE-LCH | lch(61.18, 66.32, 307.83°) |
| OKLab | oklab(68.2% 0.083 -0.1473) |
| OKLCH | oklch(68.2% 0.169 299.4) |
| XYZ | xyz(39.5692, 29.4528, 86.8023) |
| Luminance | 0.2945 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.96
Light Purple
#BF77F6
ΔE00 4.38
Easter Purple
#C071FE
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.77
Liliac
#C48EFD
ΔE00 6.22
Periwinkle (survey)
#8E82FE
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A97DF1 #C5F17D
analogous
#7D8BF1 #A97DF1 #E37DF1
triadic
#A97DF1 #F1A97D #7DF1A9
tetradic
#A97DF1 #F17D8B #C5F17D #7DF1E3
square
#A97DF1 #F17D8B #C5F17D #7DF1E3
split-complementary
#A97DF1 #F1E37D #8BF17D
monochromatic
#6218DC #8446EB #A97DF1 #CEB4F7 #EDE3FC
Accessibility & contrast
On white
3.05
#A97DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#A97DF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A97DF1
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A97DF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A97DF1 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F5
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#9A93AC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a97df1; /* rgb */ color: rgb(169, 125, 241); /* oklch */ color: oklch(68.2% 0.169 299.4);
Tailwind
colors: {
custom: {
50: '#c5a3f6',
500: '#a97df1',
950: '#000000',
},
}SCSS
$custom: #a97df1; $custom-light: #c5a3f6; $custom-dark: #000000;
JSON
{
"hex": "#a97df1",
"rgb": {
"r": 169,
"g": 125,
"b": 241
},
"hsl": {
"h": 262.759,
"s": 80.556,
"l": 71.765
},
"oklch": {
"l": 0.68202,
"c": 0.16913,
"h": 299.4
},
"luminance": 0.29453
}Semantic roles & 50–950 ramp
primary
#A97DF1
secondary
#E8F4D6
accent
#DD098C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85