#AD31A3#AD31A3

#AD31A3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.202 H 331.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AD31A3
RGBrgb(173, 49, 163)
HSLhsl(305, 56%, 44%)
HSVhsv(305, 72%, 68%)
CMYKcmyk(0%, 71.7%, 5.8%, 32.2%)
CIE-LABlab(43.84, 62.19, -35.10)
CIE-LCHlch(43.84, 71.41, 330.56°)
OKLaboklab(54.25% 0.1777 -0.0966)
OKLCHoklch(54.25% 0.202 331.5)
XYZxyz(24.9427, 13.7272, 35.9791)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31A3 #31AD3B
analogous
#7931AD #AD31A3 #AD3165
triadic
#AD31A3 #A3AD31 #31A3AD
tetradic
#AD31A3 #AD7931 #31AD3B #3165AD
square
#AD31A3 #AD7931 #31AD3B #3165AD
split-complementary
#AD31A3 #65AD31 #31AD79
monochromatic
#4E1649 #7D2376 #AD31A3 #CD4EC3 #DA7ED3

Accessibility & contrast

On white

5.61
#AD31A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD31A3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31A3#FFFFFF#000000##FFFFFF
##AD31A31.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#B43F67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad31a3;
/* rgb */ color: rgb(173, 49, 163);
/* oklch */ color: oklch(54.2% 0.202 331.5);
Tailwind
colors: {
  custom: {
    50: '#c975be',
    500: '#ad31a3',
    950: '#000000',
  },
}
SCSS
$custom: #ad31a3;
$custom-light: #c975be;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31a3",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 304.839,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.20227,
    "h": 331.5
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#AD31A3
secondary
#77C37D
accent
#DF5549
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD31A3

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

Preview Lab → · Contrast checker → · Palette generator →

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