#AD31A4#AD31A4

#AD31A4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.203 H 331.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AD31A4
RGBrgb(173, 49, 164)
HSLhsl(304, 56%, 44%)
HSVhsv(304, 72%, 68%)
CMYKcmyk(0%, 71.7%, 5.2%, 32.2%)
CIE-LABlab(43.89, 62.35, -35.61)
CIE-LCHlch(43.89, 71.80, 330.26°)
OKLaboklab(54.3% 0.1778 -0.098)
OKLCHoklch(54.3% 0.203 331.1)
XYZxyz(25.0327, 13.7632, 36.4529)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31A4 #31AD3A
analogous
#7831AD #AD31A4 #AD3166
triadic
#AD31A4 #A4AD31 #31A4AD
tetradic
#AD31A4 #AD7831 #31AD3A #3166AD
square
#AD31A4 #AD7831 #31AD3A #3166AD
split-complementary
#AD31A4 #66AD31 #31AD78
monochromatic
#4E164A #7D2377 #AD31A4 #CD4EC4 #DA7ED4

Accessibility & contrast

On white

5.60
#AD31A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AD31A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31A4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31A4#FFFFFF#000000##FFFFFF
##AD31A41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B44067
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad31a4;
/* rgb */ color: rgb(173, 49, 164);
/* oklch */ color: oklch(54.3% 0.203 331.1);
Tailwind
colors: {
  custom: {
    50: '#c975bf',
    500: '#ad31a4',
    950: '#000000',
  },
}
SCSS
$custom: #ad31a4;
$custom-light: #c975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31a4",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 304.355,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.20303,
    "h": 331.1
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#AD31A4
secondary
#77C37C
accent
#DF5449
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD31A4

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

Preview Lab → · Contrast checker → · Palette generator →

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