#A97AF7#A97AF7

#A97AF7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.181 H 298.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A97AF7
RGBrgb(169, 122, 247)
HSLhsl(263, 89%, 72%)
HSVhsv(263, 51%, 97%)
CMYKcmyk(31.6%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.84, 43.81, -56.23)
CIE-LCHlch(60.84, 71.28, 307.92°)
OKLaboklab(68.05% 0.0874 -0.1586)
OKLCHoklch(68.05% 0.181 298.9)
XYZxyz(40.1062, 29.0691, 91.4756)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AF7 #C8F77A
analogous
#7A8AF7 #A97AF7 #E77AF7
triadic
#A97AF7 #F7A97A #7AF7A9
tetradic
#A97AF7 #F77A8A #C8F77A #7AF7E7
square
#A97AF7 #F77A8A #C8F77A #7AF7E7
split-complementary
#A97AF7 #F7E77A #8AF77A
monochromatic
#600EE9 #8440F4 #A97AF7 #CEB4FA #ECE2FD

Accessibility & contrast

On white

3.08
#A97AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A97AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AF7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AF7#FFFFFF#000000##000000
##A97AF71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a97af7;
/* rgb */ color: rgb(169, 122, 247);
/* oklch */ color: oklch(68.1% 0.181 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6a1fa',
    500: '#a97af7',
    950: '#000000',
  },
}
SCSS
$custom: #a97af7;
$custom-light: #c6a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97af7",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 262.56,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68055,
    "c": 0.1811,
    "h": 298.9
  },
  "luminance": 0.29069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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