#A97AF5#A97AF5

#A97AF5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.179 H 299.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A97AF5
RGBrgb(169, 122, 245)
HSLhsl(263, 86%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(31%, 50.2%, 0%, 3.9%)
CIE-LABlab(60.73, 43.32, -55.30)
CIE-LCHlch(60.73, 70.24, 308.07°)
OKLaboklab(67.94% 0.0873 -0.1559)
OKLCHoklch(67.94% 0.179 299.2)
XYZxyz(39.7992, 28.9463, 89.8589)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AF5 #C6F57A
analogous
#7A89F5 #A97AF5 #E77AF5
triadic
#A97AF5 #F5A97A #7AF5A9
tetradic
#A97AF5 #F57A89 #C6F57A #7AF5E7
square
#A97AF5 #F57A89 #C6F57A #7AF5E7
split-complementary
#A97AF5 #F5E77A #89F57A
monochromatic
#6111E3 #8441F1 #A97AF5 #CEB3F9 #EDE3FD

Accessibility & contrast

On white

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

On black

6.79
#A97AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AF5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AF5#FFFFFF#000000##000000
##A97AF51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#9991AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97af5;
/* rgb */ color: rgb(169, 122, 245);
/* oklch */ color: oklch(67.9% 0.179 299.2);
Tailwind
colors: {
  custom: {
    50: '#c6a1f9',
    500: '#a97af5',
    950: '#000000',
  },
}
SCSS
$custom: #a97af5;
$custom-light: #c6a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97af5",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 262.927,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.17865,
    "h": 299.2
  },
  "luminance": 0.28947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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