#A97DFD#A97DFD

#A97DFD is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.184 H 297.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A97DFD
RGBrgb(169, 125, 253)
HSLhsl(261, 97%, 74%)
HSVhsv(261, 51%, 99%)
CMYKcmyk(33.2%, 50.6%, 0%, 0.8%)
CIE-LABlab(61.82, 43.64, -57.97)
CIE-LCHlch(61.82, 72.57, 306.97°)
OKLaboklab(68.89% 0.0841 -0.1637)
OKLCHoklch(68.89% 0.184 297.2)
XYZxyz(41.4210, 30.1936, 96.5551)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DFD #D1FD7D
analogous
#7D91FD #A97DFD #E97DFD
triadic
#A97DFD #FDA97D #7DFDA9
tetradic
#A97DFD #FD7D91 #D1FD7D #7DFDE9
square
#A97DFD #FD7D91 #D1FD7D #7DFDE9
split-complementary
#A97DFD #FDE97D #91FD7D
monochromatic
#5904FB #8141FC #A97DFD #D1B9FE #EBE1FF

Accessibility & contrast

On white

2.98
#A97DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A97DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97DFD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DFD#FFFFFF#000000##000000
##A97DFD1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#9696B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97dfd;
/* rgb */ color: rgb(169, 125, 253);
/* oklch */ color: oklch(68.9% 0.184 297.2);
Tailwind
colors: {
  custom: {
    50: '#c6a3ff',
    500: '#a97dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a97dfd;
$custom-light: #c6a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dfd",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 260.625,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.18405,
    "h": 297.2
  },
  "luminance": 0.30194
}

Semantic roles & 50–950 ramp

primary
#A97DFD
secondary
#EBF7D4
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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