#AD31A5#AD31A5

#AD31A5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.204 H 330.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AD31A5
RGBrgb(173, 49, 165)
HSLhsl(304, 56%, 44%)
HSVhsv(304, 72%, 68%)
CMYKcmyk(0%, 71.7%, 4.6%, 32.2%)
CIE-LABlab(43.94, 62.51, -36.13)
CIE-LCHlch(43.94, 72.20, 329.97°)
OKLaboklab(54.36% 0.1778 -0.0995)
OKLCHoklch(54.36% 0.204 330.8)
XYZxyz(25.1234, 13.7994, 36.9304)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31A5 #31AD39
analogous
#7731AD #AD31A5 #AD3167
triadic
#AD31A5 #A5AD31 #31A5AD
tetradic
#AD31A5 #AD7731 #31AD39 #3167AD
square
#AD31A5 #AD7731 #31AD39 #3167AD
split-complementary
#AD31A5 #67AD31 #31AD77
monochromatic
#4E164A #7D2378 #AD31A5 #CD4EC5 #DA7ED4

Accessibility & contrast

On white

5.59
#AD31A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AD31A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31A5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31A5#FFFFFF#000000##FFFFFF
##AD31A51.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#566EA2
Tritanopia (blue-blind)
#B44068
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad31a5;
/* rgb */ color: rgb(173, 49, 165);
/* oklch */ color: oklch(54.4% 0.204 330.8);
Tailwind
colors: {
  custom: {
    50: '#c975c0',
    500: '#ad31a5',
    950: '#000000',
  },
}
SCSS
$custom: #ad31a5;
$custom-light: #c975c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31a5",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 303.871,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.20378,
    "h": 330.8
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#AD31A5
secondary
#77C37B
accent
#DF5249
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD31A5

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

Preview Lab → · Contrast checker → · Palette generator →

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