#A97EF2#A97EF2

#A97EF2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.169 H 299.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A97EF2
RGBrgb(169, 126, 242)
HSLhsl(262, 82%, 72%)
HSVhsv(262, 48%, 95%)
CMYKcmyk(30.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(61.45, 40.37, -52.50)
CIE-LCHlch(61.45, 66.22, 307.56°)
OKLaboklab(68.42% 0.0818 -0.1477)
OKLCHoklch(68.42% 0.169 299)
XYZxyz(39.8462, 29.7672, 87.6336)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF2 #C7F27E
analogous
#7E8DF2 #A97EF2 #E37EF2
triadic
#A97EF2 #F2A97E #7EF2A9
tetradic
#A97EF2 #F27E8D #C7F27E #7EF2E3
square
#A97EF2 #F27E8D #C7F27E #7EF2E3
split-complementary
#A97EF2 #F2E37E #8DF27E
monochromatic
#6116DF #8446EC #A97EF2 #CEB6F8 #ECE3FC

Accessibility & contrast

On white

3.02
#A97EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A97EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EF2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF2#FFFFFF#000000##000000
##A97EF21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9A94AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97ef2;
/* rgb */ color: rgb(169, 126, 242);
/* oklch */ color: oklch(68.4% 0.169 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a4f7',
    500: '#a97ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef2;
$custom-light: #c5a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef2",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 262.241,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68423,
    "c": 0.16885,
    "h": 299
  },
  "luminance": 0.29768
}

Semantic roles & 50–950 ramp

primary
#A97EF2
secondary
#E9F4D7
accent
#DE078F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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