#A97AFA#A97AFA

#A97AFA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.185 H 298.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A97AFA
RGBrgb(169, 122, 250)
HSLhsl(262, 93%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.4%, 51.2%, 0%, 2%)
CIE-LABlab(61.01, 44.55, -57.62)
CIE-LCHlch(61.01, 72.83, 307.71°)
OKLaboklab(68.23% 0.0876 -0.1627)
OKLCHoklch(68.23% 0.185 298.3)
XYZxyz(40.5728, 29.2558, 93.9333)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AFA #CBFA7A
analogous
#7A8BFA #A97AFA #E97AFA
triadic
#A97AFA #FAA97A #7AFAA9
tetradic
#A97AFA #FA7A8B #CBFA7A #7AFAE9
square
#A97AFA #FA7A8B #CBFA7A #7AFAE9
split-complementary
#A97AFA #FAE97A #8BFA7A
monochromatic
#5E09F1 #833FF8 #A97AFA #CFB5FC #ECE2FE

Accessibility & contrast

On white

3.07
#A97AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A97AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AFA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AFA#FFFFFF#000000##000000
##A97AFA1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#9893AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97afa;
/* rgb */ color: rgb(169, 122, 250);
/* oklch */ color: oklch(68.2% 0.185 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a1fc',
    500: '#a97afa',
    950: '#000000',
  },
}
SCSS
$custom: #a97afa;
$custom-light: #c6a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97afa",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 262.031,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6823,
    "c": 0.18479,
    "h": 298.3
  },
  "luminance": 0.29256
}

Semantic roles & 50–950 ramp

primary
#A97AFA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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