#A97BF1#A97BF1

#A97BF1 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.172 H 299.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A97BF1
RGBrgb(169, 123, 241)
HSLhsl(263, 81%, 71%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(29.9%, 49%, 0%, 5.5%)
CIE-LABlab(60.74, 41.78, -53.08)
CIE-LCHlch(60.74, 67.55, 308.21°)
OKLaboklab(67.87% 0.0856 -0.1494)
OKLCHoklch(67.87% 0.172 299.8)
XYZxyz(39.3186, 28.9516, 86.7188)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF1 #C3F17B
analogous
#7B88F1 #A97BF1 #E47BF1
triadic
#A97BF1 #F1A97B #7BF1A9
tetradic
#A97BF1 #F17B88 #C3F17B #7BF1E4
square
#A97BF1 #F17B88 #C3F17B #7BF1E4
split-complementary
#A97BF1 #F1E47B #88F17B
monochromatic
#6317DA #8544EB #A97BF1 #CDB2F7 #EDE3FC

Accessibility & contrast

On white

3.09
#A97BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A97BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF1#FFFFFF#000000##000000
##A97BF11.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#5F92EE
Tritanopia (blue-blind)
#9B91AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97bf1;
/* rgb */ color: rgb(169, 123, 241);
/* oklch */ color: oklch(67.9% 0.172 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2f6',
    500: '#a97bf1',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf1;
$custom-light: #c5a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf1",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 263.39,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.17219,
    "h": 299.8
  },
  "luminance": 0.28952
}

Semantic roles & 50–950 ramp

primary
#A97BF1
secondary
#E7F3D5
accent
#DD088A
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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