#A97EF5#A97EF5

#A97EF5 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.173 H 298.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A97EF5
RGBrgb(169, 126, 245)
HSLhsl(262, 86%, 73%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31%, 48.6%, 0%, 3.9%)
CIE-LABlab(61.61, 41.10, -53.90)
CIE-LCHlch(61.61, 67.79, 307.33°)
OKLaboklab(68.59% 0.0821 -0.1518)
OKLCHoklch(68.59% 0.173 298.4)
XYZxyz(40.3005, 29.9489, 90.0260)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF5 #CAF57E
analogous
#7E8EF5 #A97EF5 #E57EF5
triadic
#A97EF5 #F5A97E #7EF5A9
tetradic
#A97EF5 #F57E8E #CAF57E #7EF5E5
square
#A97EF5 #F57E8E #CAF57E #7EF5E5
split-complementary
#A97EF5 #F5E57E #8EF57E
monochromatic
#5F12E7 #8345F1 #A97EF5 #CFB7F9 #ECE3FD

Accessibility & contrast

On white

3.00
#A97EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A97EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EF5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF5#FFFFFF#000000##000000
##A97EF51.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#9994AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ef5;
/* rgb */ color: rgb(169, 126, 245);
/* oklch */ color: oklch(68.6% 0.173 298.4);
Tailwind
colors: {
  custom: {
    50: '#c6a4f9',
    500: '#a97ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef5;
$custom-light: #c6a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef5",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 261.681,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.1726,
    "h": 298.4
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#A97EF5
secondary
#EAF5D6
accent
#E20392
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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