#A97DF7#A97DF7

#A97DF7 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.177 H 298.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A97DF7
RGBrgb(169, 125, 247)
HSLhsl(262, 88%, 73%)
HSVhsv(262, 49%, 97%)
CMYKcmyk(31.6%, 49.4%, 0%, 3.1%)
CIE-LABlab(61.50, 42.15, -55.19)
CIE-LCHlch(61.50, 69.45, 307.37°)
OKLaboklab(68.54% 0.0836 -0.1556)
OKLCHoklch(68.54% 0.177 298.3)
XYZxyz(40.4802, 29.8172, 91.6003)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF7 #CBF77D
analogous
#7D8EF7 #A97DF7 #E67DF7
triadic
#A97DF7 #F7A97D #7DF7A9
tetradic
#A97DF7 #F77D8E #CBF77D #7DF7E6
square
#A97DF7 #F77D8E #CBF77D #7DF7E6
split-complementary
#A97DF7 #F7E67D #8EF77D
monochromatic
#5E0EEB #8343F3 #A97DF7 #CFB7FB #ECE2FD

Accessibility & contrast

On white

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

On black

6.96
#A97DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF7#FFFFFF#000000##000000
##A97DF71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#9894AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97df7;
/* rgb */ color: rgb(169, 125, 247);
/* oklch */ color: oklch(68.5% 0.177 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a3fa',
    500: '#a97df7',
    950: '#000000',
  },
}
SCSS
$custom: #a97df7;
$custom-light: #c6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df7",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 261.639,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68541,
    "c": 0.17661,
    "h": 298.3
  },
  "luminance": 0.29818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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