#A97AFE#A97AFE

#A97AFE is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.190 H 297.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A97AFE
RGBrgb(169, 122, 254)
HSLhsl(261, 99%, 74%)
HSVhsv(261, 52%, 100%)
CMYKcmyk(33.5%, 52%, 0%, 0.4%)
CIE-LABlab(61.23, 45.54, -59.47)
CIE-LCHlch(61.23, 74.91, 307.45°)
OKLaboklab(68.47% 0.0879 -0.1681)
OKLCHoklch(68.47% 0.19 297.6)
XYZxyz(41.2067, 29.5093, 97.2716)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AFE #CFFE7A
analogous
#7A8DFE #A97AFE #EB7AFE
triadic
#A97AFE #FEA97A #7AFEA9
tetradic
#A97AFE #FE7A8D #CFFE7A #7AFEEB
square
#A97AFE #FE7A8D #CFFE7A #7AFEEB
split-complementary
#A97AFE #FEEB7A #8DFE7A
monochromatic
#5B02FC #823DFE #A97AFE #D0B7FE #EBE1FF

Accessibility & contrast

On white

3.04
#A97AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A97AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AFE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AFE#FFFFFF#000000##000000
##A97AFE1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#9694B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97afe;
/* rgb */ color: rgb(169, 122, 254);
/* oklch */ color: oklch(68.5% 0.190 297.6);
Tailwind
colors: {
  custom: {
    50: '#c6a1ff',
    500: '#a97afe',
    950: '#000000',
  },
}
SCSS
$custom: #a97afe;
$custom-light: #c6a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97afe",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 261.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.18968,
    "h": 297.6
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#A97AFE
secondary
#EBF7D4
accent
#E60094
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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