#AD31AF#AD31AF

#AD31AF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.212 H 327.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AD31AF
RGBrgb(173, 49, 175)
HSLhsl(299, 56%, 44%)
HSVhsv(299, 72%, 69%)
CMYKcmyk(1.1%, 72%, 0%, 31.4%)
CIE-LABlab(44.49, 64.14, -41.20)
CIE-LCHlch(44.49, 76.24, 327.29°)
OKLaboklab(54.92% 0.178 -0.1142)
OKLCHoklch(54.92% 0.212 327.3)
XYZxyz(26.0694, 14.1778, 41.9126)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AF #33AF31
analogous
#6E31AF #AD31AF #AF3172
triadic
#AD31AF #AFAD31 #31AFAD
tetradic
#AD31AF #AF6E31 #33AF31 #3172AF
square
#AD31AF #AF6E31 #33AF31 #3172AF
split-complementary
#AD31AF #72AF31 #31AF6E
monochromatic
#4E164F #7E247F #AD31AF #CC4FCE #DA7FDB

Accessibility & contrast

On white

5.48
#AD31AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AD31AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31AF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AF#FFFFFF#000000##FFFFFF
##AD31AF1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#B2456D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31af;
/* rgb */ color: rgb(173, 49, 175);
/* oklch */ color: oklch(54.9% 0.212 327.3);
Tailwind
colors: {
  custom: {
    50: '#c975c7',
    500: '#ad31af',
    950: '#000000',
  },
}
SCSS
$custom: #ad31af;
$custom-light: #c975c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31af",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 299.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.21151,
    "h": 327.3
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#AD31AF
secondary
#79C478
accent
#E0484B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31AF

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

Preview Lab → · Contrast checker → · Palette generator →

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