#A97EF7#A97EF7

#A97EF7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.175 H 298.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A97EF7
RGBrgb(169, 126, 247)
HSLhsl(261, 88%, 73%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(31.6%, 49%, 0%, 3.1%)
CIE-LABlab(61.72, 41.60, -54.84)
CIE-LCHlch(61.72, 68.83, 307.18°)
OKLaboklab(68.71% 0.0823 -0.1545)
OKLCHoklch(68.71% 0.175 298)
XYZxyz(40.6075, 30.0717, 91.6427)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF7 #CCF77E
analogous
#7E8FF7 #A97EF7 #E57EF7
triadic
#A97EF7 #F7A97E #7EF7A9
tetradic
#A97EF7 #F77E8F #CCF77E #7EF7E5
square
#A97EF7 #F77E8F #CCF77E #7EF7E5
split-complementary
#A97EF7 #F7E57E #8FF77E
monochromatic
#5D0FEC #8344F3 #A97EF7 #CFB8FB #ECE2FD

Accessibility & contrast

On white

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

On black

7.01
#A97EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EF7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF7#FFFFFF#000000##000000
##A97EF71.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a97ef7;
/* rgb */ color: rgb(169, 126, 247);
/* oklch */ color: oklch(68.7% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6a4fa',
    500: '#a97ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef7;
$custom-light: #c6a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef7",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 261.322,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68705,
    "c": 0.17509,
    "h": 298
  },
  "luminance": 0.30072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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