#A97DD5#A97DD5

#A97DD5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.7% C 0.134 H 306.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A97DD5
RGBrgb(169, 125, 213)
HSLhsl(270, 51%, 66%)
HSVhsv(270, 41%, 84%)
CMYKcmyk(20.7%, 41.3%, 0%, 16.5%)
CIE-LABlab(59.80, 34.03, -38.94)
CIE-LCHlch(59.80, 51.71, 311.14°)
OKLaboklab(66.72% 0.079 -0.1083)
OKLCHoklch(66.72% 0.134 306.1)
XYZxyz(35.7036, 27.9066, 66.4435)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DD5 #A9D57D
analogous
#7D7DD5 #A97DD5 #D57DD5
triadic
#A97DD5 #D5A97D #7DD5A9
tetradic
#A97DD5 #D57D7D #A9D57D #7DD5D5
square
#A97DD5 #D57D7D #A9D57D #7DD5D5
split-complementary
#A97DD5 #D5D57D #7DD57D
monochromatic
#6C35A3 #8A4FC6 #A97DD5 #C8ABE4 #E6DAF3

Accessibility & contrast

On white

3.19
#A97DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A97DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97DD5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DD5#FFFFFF#000000##000000
##A97DD51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#698FD8
Deuteranopia (green-blind)
#7390D3
Tritanopia (blue-blind)
#A28B9F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a97dd5;
/* rgb */ color: rgb(169, 125, 213);
/* oklch */ color: oklch(66.7% 0.134 306.1);
Tailwind
colors: {
  custom: {
    50: '#c4a3e2',
    500: '#a97dd5',
    950: '#000000',
  },
}
SCSS
$custom: #a97dd5;
$custom-light: #c4a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dd5",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66722,
    "c": 0.13404,
    "h": 306.1
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#A97DD5
secondary
#D7E5C9
accent
#BF2773
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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