#A97DF5#A97DF5

#A97DF5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.174 H 298.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A97DF5
RGBrgb(169, 125, 245)
HSLhsl(262, 86%, 73%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31%, 49%, 0%, 3.9%)
CIE-LABlab(61.39, 41.66, -54.26)
CIE-LCHlch(61.39, 68.40, 307.52°)
OKLaboklab(68.43% 0.0834 -0.1528)
OKLCHoklch(68.43% 0.174 298.6)
XYZxyz(40.1733, 29.6944, 89.9836)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DF5 #C9F57D
analogous
#7D8DF5 #A97DF5 #E57DF5
triadic
#A97DF5 #F5A97D #7DF5A9
tetradic
#A97DF5 #F57D8D #C9F57D #7DF5E5
square
#A97DF5 #F57D8D #C9F57D #7DF5E5
split-complementary
#A97DF5 #F5E57D #8DF57D
monochromatic
#6012E6 #8344F1 #A97DF5 #CFB6F9 #ECE3FD

Accessibility & contrast

On white

3.03
#A97DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A97DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DF5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DF5#FFFFFF#000000##000000
##A97DF51.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#9994AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97df5;
/* rgb */ color: rgb(169, 125, 245);
/* oklch */ color: oklch(68.4% 0.174 298.6);
Tailwind
colors: {
  custom: {
    50: '#c6a3f9',
    500: '#a97df5',
    950: '#000000',
  },
}
SCSS
$custom: #a97df5;
$custom-light: #c6a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97df5",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 262,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68427,
    "c": 0.17412,
    "h": 298.6
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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