#A97BF9#A97BF9

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

Color values

HEX#A97BF9
RGBrgb(169, 123, 249)
HSLhsl(262, 91%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.1%, 50.6%, 0%, 2.4%)
CIE-LABlab(61.17, 43.75, -56.81)
CIE-LCHlch(61.17, 71.71, 307.60°)
OKLaboklab(68.33% 0.0863 -0.1603)
OKLCHoklch(68.33% 0.182 298.3)
XYZxyz(40.5399, 29.4401, 93.1508)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF9 #CBF97B
analogous
#7B8CF9 #A97BF9 #E87BF9
triadic
#A97BF9 #F9A97B #7BF9A9
tetradic
#A97BF9 #F97B8C #CBF97B #7BF9E8
square
#A97BF9 #F97B8C #CBF97B #7BF9E8
split-complementary
#A97BF9 #F9E87B #8CF97B
monochromatic
#5E0BEF #8340F6 #A97BF9 #CFB6FC #ECE2FE

Accessibility & contrast

On white

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

On black

6.89
#A97BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF9#FFFFFF#000000##000000
##A97BF91.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#9893AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97bf9;
/* rgb */ color: rgb(169, 123, 249);
/* oklch */ color: oklch(68.3% 0.182 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a2fc',
    500: '#a97bf9',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf9;
$custom-light: #c6a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf9",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 261.905,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68332,
    "c": 0.18207,
    "h": 298.3
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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