#A97EF4#A97EF4

#A97EF4 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.171 H 298.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A97EF4
RGBrgb(169, 126, 244)
HSLhsl(262, 84%, 73%)
HSVhsv(262, 48%, 96%)
CMYKcmyk(30.7%, 48.4%, 0%, 4.3%)
CIE-LABlab(61.56, 40.86, -53.44)
CIE-LCHlch(61.56, 67.27, 307.40°)
OKLaboklab(68.54% 0.082 -0.1504)
OKLCHoklch(68.54% 0.171 298.6)
XYZxyz(40.1483, 29.8880, 89.2242)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF4 #C9F47E
analogous
#7E8EF4 #A97EF4 #E47EF4
triadic
#A97EF4 #F4A97E #7EF4A9
tetradic
#A97EF4 #F47E8E #C9F47E #7EF4E4
square
#A97EF4 #F47E8E #C9F47E #7EF4E4
split-complementary
#A97EF4 #F4E47E #8EF47E
monochromatic
#6013E4 #8346EF #A97EF4 #CFB6F9 #ECE3FD

Accessibility & contrast

On white

3.01
#A97EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A97EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EF4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF4#FFFFFF#000000##000000
##A97EF41.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#9994AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ef4;
/* rgb */ color: rgb(169, 126, 244);
/* oklch */ color: oklch(68.5% 0.171 298.6);
Tailwind
colors: {
  custom: {
    50: '#c6a4f8',
    500: '#a97ef4',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef4;
$custom-light: #c6a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef4",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 261.864,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68535,
    "c": 0.17135,
    "h": 298.6
  },
  "luminance": 0.29888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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