#A97EF6#A97EF6

#A97EF6 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.174 H 298.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A97EF6
RGBrgb(169, 126, 246)
HSLhsl(262, 87%, 73%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31.3%, 48.8%, 0%, 3.5%)
CIE-LABlab(61.66, 41.35, -54.37)
CIE-LCHlch(61.66, 68.31, 307.25°)
OKLaboklab(68.65% 0.0822 -0.1532)
OKLCHoklch(68.65% 0.174 298.2)
XYZxyz(40.4536, 30.0101, 90.8322)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF6 #CBF67E
analogous
#7E8FF6 #A97EF6 #E57EF6
triadic
#A97EF6 #F6A97E #7EF6A9
tetradic
#A97EF6 #F67E8F #CBF67E #7EF6E5
square
#A97EF6 #F67E8F #CBF67E #7EF6E5
split-complementary
#A97EF6 #F6E57E #8FF67E
monochromatic
#5E10E9 #8345F2 #A97EF6 #CFB7FA #ECE2FD

Accessibility & contrast

On white

3.00
#A97EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A97EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EF6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF6#FFFFFF#000000##000000
##A97EF61.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#9995AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ef6;
/* rgb */ color: rgb(169, 126, 246);
/* oklch */ color: oklch(68.6% 0.174 298.2);
Tailwind
colors: {
  custom: {
    50: '#c6a4fa',
    500: '#a97ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef6;
$custom-light: #c6a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef6",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 261.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.17385,
    "h": 298.2
  },
  "luminance": 0.30011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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