#AD31AA#AD31AA

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

Color values

HEX#AD31AA
RGBrgb(173, 49, 170)
HSLhsl(301, 56%, 44%)
HSVhsv(301, 72%, 68%)
CMYKcmyk(0%, 71.7%, 1.7%, 32.2%)
CIE-LABlab(44.21, 63.32, -38.68)
CIE-LCHlch(44.21, 74.19, 328.58°)
OKLaboklab(54.64% 0.178 -0.1069)
OKLCHoklch(54.64% 0.208 329)
XYZxyz(25.5874, 13.9850, 39.3741)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AA #31AD34
analogous
#7231AD #AD31AA #AD316C
triadic
#AD31AA #AAAD31 #31AAAD
tetradic
#AD31AA #AD7231 #31AD34 #316CAD
square
#AD31AA #AD7231 #31AD34 #316CAD
split-complementary
#AD31AA #6CAD31 #31AD72
monochromatic
#4E164C #7D237B #AD31AA #CD4ECA #DA7ED8

Accessibility & contrast

On white

5.53
#AD31AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD31AA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AA#FFFFFF#000000##FFFFFF
##AD31AA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#B3426A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad31aa;
/* rgb */ color: rgb(173, 49, 170);
/* oklch */ color: oklch(54.6% 0.208 329.0);
Tailwind
colors: {
  custom: {
    50: '#c975c4',
    500: '#ad31aa',
    950: '#000000',
  },
}
SCSS
$custom: #ad31aa;
$custom-light: #c975c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31aa",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 301.452,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.20762,
    "h": 329
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#AD31AA
secondary
#77C378
accent
#DF4C49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AD31AA

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

Preview Lab → · Contrast checker → · Palette generator →

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