#A97BF5#A97BF5

#A97BF5 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.1% C 0.177 H 299.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A97BF5
RGBrgb(169, 123, 245)
HSLhsl(263, 86%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(31%, 49.8%, 0%, 3.9%)
CIE-LABlab(60.95, 42.76, -54.95)
CIE-LCHlch(60.95, 69.63, 307.89°)
OKLaboklab(68.1% 0.086 -0.1549)
OKLCHoklch(68.1% 0.177 299)
XYZxyz(39.9226, 29.1932, 89.9000)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF5 #C7F57B
analogous
#7B8AF5 #A97BF5 #E67BF5
triadic
#A97BF5 #F5A97B #7BF5A9
tetradic
#A97BF5 #F57B8A #C7F57B #7BF5E6
square
#A97BF5 #F57B8A #C7F57B #7BF5E6
split-complementary
#A97BF5 #F5E67B #8AF57B
monochromatic
#6111E4 #8442F1 #A97BF5 #CEB4F9 #ECE3FD

Accessibility & contrast

On white

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

On black

6.84
#A97BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF5#FFFFFF#000000##000000
##A97BF51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#9992AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97bf5;
/* rgb */ color: rgb(169, 123, 245);
/* oklch */ color: oklch(68.1% 0.177 299.0);
Tailwind
colors: {
  custom: {
    50: '#c6a2f9',
    500: '#a97bf5',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf5;
$custom-light: #c6a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf5",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 262.623,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68101,
    "c": 0.17714,
    "h": 299
  },
  "luminance": 0.29194
}

Semantic roles & 50–950 ramp

primary
#A97BF5
secondary
#E9F5D6
accent
#E2038E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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