#A97AFC#A97AFC

#A97AFC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.187 H 298.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A97AFC
RGBrgb(169, 122, 252)
HSLhsl(262, 96%, 73%)
HSVhsv(262, 52%, 99%)
CMYKcmyk(32.9%, 51.6%, 0%, 1.2%)
CIE-LABlab(61.12, 45.05, -58.55)
CIE-LCHlch(61.12, 73.87, 307.57°)
OKLaboklab(68.35% 0.0878 -0.1654)
OKLCHoklch(68.35% 0.187 298)
XYZxyz(40.8881, 29.3819, 95.5937)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AFC #CDFC7A
analogous
#7A8CFC #A97AFC #EA7AFC
triadic
#A97AFC #FCA97A #7AFCA9
tetradic
#A97AFC #FC7A8C #CDFC7A #7AFCEA
square
#A97AFC #FC7A8C #CDFC7A #7AFCEA
split-complementary
#A97AFC #FCEA7A #8CFC7A
monochromatic
#5C06F6 #823EFB #A97AFC #D0B6FD #ECE1FE

Accessibility & contrast

On white

3.05
#A97AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A97AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AFC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AFC#FFFFFF#000000##000000
##A97AFC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#9793B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97afc;
/* rgb */ color: rgb(169, 122, 252);
/* oklch */ color: oklch(68.3% 0.187 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6a1fe',
    500: '#a97afc',
    950: '#000000',
  },
}
SCSS
$custom: #a97afc;
$custom-light: #c6a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a97afc",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 261.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.18724,
    "h": 298
  },
  "luminance": 0.29382
}

Semantic roles & 50–950 ramp

primary
#A97AFC
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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