#AD31AD#AD31AD

#AD31AD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.210 H 328.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AD31AD
RGBrgb(173, 49, 173)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0%, 71.7%, 0%, 32.2%)
CIE-LABlab(44.38, 63.81, -40.19)
CIE-LCHlch(44.38, 75.41, 327.79°)
OKLaboklab(54.81% 0.178 -0.1113)
OKLCHoklch(54.81% 0.21 328)
XYZxyz(25.8744, 14.0998, 40.8858)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AD #31AD31
analogous
#6F31AD #AD31AD #AD316F
triadic
#AD31AD #ADAD31 #31ADAD
tetradic
#AD31AD #AD6F31 #31AD31 #316FAD
square
#AD31AD #AD6F31 #31AD31 #316FAD
split-complementary
#AD31AD #6FAD31 #31AD6F
monochromatic
#4E164E #7D237D #AD31AD #CD4ECD #DA7EDA

Accessibility & contrast

On white

5.50
#AD31AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AD31AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31AD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AD#FFFFFF#000000##FFFFFF
##AD31AD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB0
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#B2446C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31ad;
/* rgb */ color: rgb(173, 49, 173);
/* oklch */ color: oklch(54.8% 0.210 328.0);
Tailwind
colors: {
  custom: {
    50: '#c975c6',
    500: '#ad31ad',
    950: '#000000',
  },
}
SCSS
$custom: #ad31ad;
$custom-light: #c975c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31ad",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 300,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.20995,
    "h": 328
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

primary
#AD31AD
secondary
#77C377
accent
#DF4949
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31AD

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

Preview Lab → · Contrast checker → · Palette generator →

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