#A97DF9#A97DF9

#A97DF9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.179 H 297.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A97DF9
RGBrgb(169, 125, 249)
HSLhsl(261, 91%, 73%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.1%, 49.8%, 0%, 2.4%)
CIE-LABlab(61.60, 42.65, -56.12)
CIE-LCHlch(61.60, 70.49, 307.23°)
OKLaboklab(68.66% 0.0838 -0.1583)
OKLCHoklch(68.66% 0.179 297.9)
XYZxyz(40.7905, 29.9413, 93.2344)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF9 #CDF97D
analogous
#7D8FF9 #A97DF9 #E77DF9
triadic
#A97DF9 #F9A97D #7DF9A9
tetradic
#A97DF9 #F97D8F #CDF97D #7DF9E7
square
#A97DF9 #F97D8F #CDF97D #7DF9E7
split-complementary
#A97DF9 #F9E77D #8FF97D
monochromatic
#5C0BF0 #8242F6 #A97DF9 #D0B7FC #ECE2FE

Accessibility & contrast

On white

3.00
#A97DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A97DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF9#FFFFFF#000000##000000
##A97DF91.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#5C94F6
Tritanopia (blue-blind)
#9895B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97df9;
/* rgb */ color: rgb(169, 125, 249);
/* oklch */ color: oklch(68.7% 0.179 297.9);
Tailwind
colors: {
  custom: {
    50: '#c6a3fc',
    500: '#a97df9',
    950: '#000000',
  },
}
SCSS
$custom: #a97df9;
$custom-light: #c6a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df9",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 261.29,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.17909,
    "h": 297.9
  },
  "luminance": 0.29942
}

Semantic roles & 50–950 ramp

primary
#A97DF9
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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