#A97AFB#A97AFB

#A97AFB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.186 H 298.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A97AFB
RGBrgb(169, 122, 251)
HSLhsl(262, 94%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.7%, 51.4%, 0%, 1.6%)
CIE-LABlab(61.06, 44.80, -58.09)
CIE-LCHlch(61.06, 73.35, 307.64°)
OKLaboklab(68.29% 0.0877 -0.164)
OKLCHoklch(68.29% 0.186 298.1)
XYZxyz(40.7300, 29.3187, 94.7613)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97AFB #CCFB7A
analogous
#7A8BFB #A97AFB #E97AFB
triadic
#A97AFB #FBA97A #7AFBA9
tetradic
#A97AFB #FB7A8B #CCFB7A #7AFBE9
square
#A97AFB #FB7A8B #CCFB7A #7AFBE9
split-complementary
#A97AFB #FBE97A #8BFB7A
monochromatic
#5D07F3 #833FF9 #A97AFB #CFB5FD #ECE1FE

Accessibility & contrast

On white

3.06
#A97AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A97AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97AFB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97AFB#FFFFFF#000000##000000
##A97AFB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#9793AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97afb;
/* rgb */ color: rgb(169, 122, 251);
/* oklch */ color: oklch(68.3% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#c6a1fd',
    500: '#a97afb',
    950: '#000000',
  },
}
SCSS
$custom: #a97afb;
$custom-light: #c6a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97afb",
  "rgb": {
    "r": 169,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 261.86,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68288,
    "c": 0.18602,
    "h": 298.1
  },
  "luminance": 0.29319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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