#AD31AB#AD31AB

#AD31AB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.208 H 328.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AD31AB
RGBrgb(173, 49, 171)
HSLhsl(301, 56%, 44%)
HSVhsv(301, 72%, 68%)
CMYKcmyk(0%, 71.7%, 1.2%, 32.2%)
CIE-LABlab(44.27, 63.48, -39.18)
CIE-LCHlch(44.27, 74.60, 328.32°)
OKLaboklab(54.69% 0.178 -0.1084)
OKLCHoklch(54.69% 0.208 328.7)
XYZxyz(25.6823, 14.0230, 39.8742)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AB #31AD33
analogous
#7131AD #AD31AB #AD316D
triadic
#AD31AB #ABAD31 #31ABAD
tetradic
#AD31AB #AD7131 #31AD33 #316DAD
square
#AD31AB #AD7131 #31AD33 #316DAD
split-complementary
#AD31AB #6DAD31 #31AD71
monochromatic
#4E164D #7D237C #AD31AB #CD4ECB #DA7ED9

Accessibility & contrast

On white

5.52
#AD31AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AD31AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31AB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AB#FFFFFF#000000##FFFFFF
##AD31AB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#B3436B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31ab;
/* rgb */ color: rgb(173, 49, 171);
/* oklch */ color: oklch(54.7% 0.208 328.7);
Tailwind
colors: {
  custom: {
    50: '#c975c4',
    500: '#ad31ab',
    950: '#000000',
  },
}
SCSS
$custom: #ad31ab;
$custom-light: #c975c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31ab",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 300.968,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.2084,
    "h": 328.7
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#AD31AB
secondary
#77C378
accent
#DF4B49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31AB

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

Preview Lab → · Contrast checker → · Palette generator →

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