#A97EE7#A97EE7

#A97EE7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.155 H 301.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A97EE7
RGBrgb(169, 126, 231)
HSLhsl(265, 69%, 70%)
HSVhsv(265, 45%, 91%)
CMYKcmyk(26.8%, 45.5%, 0%, 9.4%)
CIE-LABlab(60.89, 37.69, -47.29)
CIE-LCHlch(60.89, 60.47, 308.56°)
OKLaboklab(67.82% 0.0805 -0.1325)
OKLCHoklch(67.82% 0.155 301.3)
XYZxyz(38.2436, 29.1261, 79.1929)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EE7 #BCE77E
analogous
#7E88E7 #A97EE7 #DD7EE7
triadic
#A97EE7 #E7A97E #7EE7A9
tetradic
#A97EE7 #E77E88 #BCE77E #7EE7DD
square
#A97EE7 #E77E88 #BCE77E #7EE7DD
split-complementary
#A97EE7 #E7DD7E #88E77E
monochromatic
#6725C6 #874ADD #A97EE7 #CBB2F1 #EEE5FA

Accessibility & contrast

On white

3.08
#A97EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A97EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EE7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EE7#FFFFFF#000000##000000
##A97EE71.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092EB
Deuteranopia (green-blind)
#6A92E4
Tritanopia (blue-blind)
#9D91A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97ee7;
/* rgb */ color: rgb(169, 126, 231);
/* oklch */ color: oklch(67.8% 0.155 301.3);
Tailwind
colors: {
  custom: {
    50: '#c5a4ef',
    500: '#a97ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a97ee7;
$custom-light: #c5a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ee7",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 264.571,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.67822,
    "c": 0.15504,
    "h": 301.3
  },
  "luminance": 0.29126
}

Semantic roles & 50–950 ramp

primary
#A97EE7
secondary
#E3EFD2
accent
#D11584
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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