#A97AF6#A97AF6

#A97AF6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.180 H 299.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A97AF6
RGBrgb(169, 122, 246)
HSLhsl(263, 87%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(31.3%, 50.4%, 0%, 3.5%)
CIE-LABlab(60.79, 43.56, -55.76)
CIE-LCHlch(60.79, 70.76, 308.00°)
OKLaboklab(68% 0.0874 -0.1572)
OKLCHoklch(68% 0.18 299.1)
XYZxyz(39.9523, 29.0076, 90.6651)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AF6 #C7F67A
analogous
#7A89F6 #A97AF6 #E77AF6
triadic
#A97AF6 #F6A97A #7AF6A9
tetradic
#A97AF6 #F67A89 #C7F67A #7AF6E7
square
#A97AF6 #F67A89 #C7F67A #7AF6E7
split-complementary
#A97AF6 #F6E77A #89F67A
monochromatic
#6110E6 #8441F2 #A97AF6 #CEB3FA #ECE2FD

Accessibility & contrast

On white

3.09
#A97AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A97AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AF6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AF6#FFFFFF#000000##000000
##A97AF61.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FA
Deuteranopia (green-blind)
#5A92F3
Tritanopia (blue-blind)
#9992AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97af6;
/* rgb */ color: rgb(169, 122, 246);
/* oklch */ color: oklch(68.0% 0.180 299.1);
Tailwind
colors: {
  custom: {
    50: '#c6a1fa',
    500: '#a97af6',
    950: '#000000',
  },
}
SCSS
$custom: #a97af6;
$custom-light: #c6a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97af6",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 262.742,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.17987,
    "h": 299.1
  },
  "luminance": 0.29008
}

Semantic roles & 50–950 ramp

primary
#A97AF6
secondary
#E9F5D6
accent
#E4028E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97AF6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A97AF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva