#A97EE4#A97EE4

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

Color values

HEX#A97EE4
RGBrgb(169, 126, 228)
HSLhsl(265, 65%, 69%)
HSVhsv(265, 45%, 89%)
CMYKcmyk(25.9%, 44.7%, 0%, 10.6%)
CIE-LABlab(60.74, 36.98, -45.85)
CIE-LCHlch(60.74, 58.90, 308.88°)
OKLaboklab(67.66% 0.0801 -0.1283)
OKLCHoklch(67.66% 0.151 302)
XYZxyz(37.8235, 28.9581, 76.9806)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EE4 #B9E47E
analogous
#7E86E4 #A97EE4 #DC7EE4
triadic
#A97EE4 #E4A97E #7EE4A9
tetradic
#A97EE4 #E47E86 #B9E47E #7EE4DC
square
#A97EE4 #E47E86 #B9E47E #7EE4DC
split-complementary
#A97EE4 #E4DC7E #86E47E
monochromatic
#6828C0 #874BD9 #A97EE4 #CBB1EF #ECE3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A97EE4#FFFFFF#000000##000000
##A97EE41.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)
#6292E8
Deuteranopia (green-blind)
#6B92E1
Tritanopia (blue-blind)
#9E90A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97ee4;
/* rgb */ color: rgb(169, 126, 228);
/* oklch */ color: oklch(67.7% 0.151 302.0);
Tailwind
colors: {
  custom: {
    50: '#c5a4ed',
    500: '#a97ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a97ee4;
$custom-light: #c5a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ee4",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 265.294,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.15126,
    "h": 302
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#A97EE4
secondary
#E1EED0
accent
#CD1881
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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