#A97EF8#A97EF8

#A97EF8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.176 H 297.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A97EF8
RGBrgb(169, 126, 248)
HSLhsl(261, 90%, 73%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(31.9%, 49.2%, 0%, 2.7%)
CIE-LABlab(61.77, 41.85, -55.31)
CIE-LCHlch(61.77, 69.35, 307.11°)
OKLaboklab(68.76% 0.0824 -0.1559)
OKLCHoklch(68.76% 0.176 297.9)
XYZxyz(40.7622, 30.1336, 92.4576)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF8 #CDF87E
analogous
#7E90F8 #A97EF8 #E67EF8
triadic
#A97EF8 #F8A97E #7EF8A9
tetradic
#A97EF8 #F87E90 #CDF87E #7EF8E6
square
#A97EF8 #F87E90 #CDF87E #7EF8E6
split-complementary
#A97EF8 #F8E67E #90F87E
monochromatic
#5D0DEF #8244F5 #A97EF8 #D0B8FB #ECE2FD

Accessibility & contrast

On white

2.99
#A97EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A97EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EF8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF8#FFFFFF#000000##000000
##A97EF81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#9895AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ef8;
/* rgb */ color: rgb(169, 126, 248);
/* oklch */ color: oklch(68.8% 0.176 297.9);
Tailwind
colors: {
  custom: {
    50: '#c6a4fb',
    500: '#a97ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef8;
$custom-light: #c6a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef8",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 261.148,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.17635,
    "h": 297.9
  },
  "luminance": 0.30134
}

Semantic roles & 50–950 ramp

primary
#A97EF8
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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