#A97EEE#A97EEE

#A97EEE is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.164 H 299.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A97EEE
RGBrgb(169, 126, 238)
HSLhsl(263, 77%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29%, 47.1%, 0%, 6.7%)
CIE-LABlab(61.25, 39.39, -50.61)
CIE-LCHlch(61.25, 64.13, 307.89°)
OKLaboklab(68.2% 0.0814 -0.1422)
OKLCHoklch(68.2% 0.164 299.8)
XYZxyz(39.2521, 29.5295, 84.5042)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EEE #C3EE7E
analogous
#7E8BEE #A97EEE #E17EEE
triadic
#A97EEE #EEA97E #7EEEA9
tetradic
#A97EEE #EE7E8B #C3EE7E #7EEEE1
square
#A97EEE #EE7E8B #C3EE7E #7EEEE1
split-complementary
#A97EEE #EEE17E #8BEE7E
monochromatic
#631CD5 #8548E7 #A97EEE #CDB4F5 #EDE4FB

Accessibility & contrast

On white

3.04
#A97EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A97EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EEE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EEE#FFFFFF#000000##000000
##A97EEE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F2
Deuteranopia (green-blind)
#6593EB
Tritanopia (blue-blind)
#9B92AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97eee;
/* rgb */ color: rgb(169, 126, 238);
/* oklch */ color: oklch(68.2% 0.164 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a4f4',
    500: '#a97eee',
    950: '#000000',
  },
}
SCSS
$custom: #a97eee;
$custom-light: #c5a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a97eee",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 263.036,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.16384,
    "h": 299.8
  },
  "luminance": 0.2953
}

Semantic roles & 50–950 ramp

primary
#A97EEE
secondary
#E7F2D5
accent
#D90D8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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