#A97FDB#A97FDB
#A97FDB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.138 H 304.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A97FDB |
|---|---|
| RGB | rgb(169, 127, 219) |
| HSL | hsl(267, 56%, 68%) |
| HSV | hsv(267, 42%, 86%) |
| CMYK | cmyk(22.8%, 42%, 0%, 14.1%) |
| CIE-LAB | lab(60.54, 34.29, -41.15) |
| CIE-LCH | lch(60.54, 53.56, 309.80°) |
| OKLab | oklab(67.37% 0.0773 -0.1147) |
| OKLCH | oklch(67.37% 0.138 304) |
| XYZ | xyz(36.7350, 28.7283, 70.6139) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.04
Light Purple
#BF77F6
ΔE00 5.69
Light Urple
#B36FF6
ΔE00 6.13
Mediumpurple
#9370DB
ΔE00 6.19
Pale Purple
#B790D4
ΔE00 6.45
Liliac
#C48EFD
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A97FDB #B1DB7F
analogous
#7F83DB #A97FDB #D77FDB
triadic
#A97FDB #DBA97F #7FDBA9
tetradic
#A97FDB #DB7F83 #B1DB7F #7FDBD7
square
#A97FDB #DB7F83 #B1DB7F #7FDBD7
split-complementary
#A97FDB #DBD77F #83DB7F
monochromatic
#6A31AF #894FCE #A97FDB #C9AFE8 #E9DFF6
Accessibility & contrast
On white
3.11
#A97FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#A97FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A97FDB
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A97FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A97FDB | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7292D9
Tritanopia (blue-blind)
#A18EA3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a97fdb; /* rgb */ color: rgb(169, 127, 219); /* oklch */ color: oklch(67.4% 0.138 304.0);
Tailwind
colors: {
custom: {
50: '#c4a5e6',
500: '#a97fdb',
950: '#000000',
},
}SCSS
$custom: #a97fdb; $custom-light: #c4a5e6; $custom-dark: #000000;
JSON
{
"hex": "#a97fdb",
"rgb": {
"r": 169,
"g": 127,
"b": 219
},
"hsl": {
"h": 267.391,
"s": 56.098,
"l": 67.843
},
"oklch": {
"l": 0.67368,
"c": 0.13828,
"h": 304
},
"luminance": 0.28728
}Semantic roles & 50–950 ramp
primary
#A97FDB
secondary
#DCE9CD
accent
#C4227A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84