#AD31AE#AD31AE

#AD31AE is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.211 H 327.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AD31AE
RGBrgb(173, 49, 174)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(44.43, 63.98, -40.70)
CIE-LCHlch(44.43, 75.82, 327.54°)
OKLaboklab(54.87% 0.178 -0.1128)
OKLCHoklch(54.87% 0.211 327.6)
XYZxyz(25.9715, 14.1387, 41.3973)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AE #32AE31
analogous
#6E31AE #AD31AE #AE3170
triadic
#AD31AE #AEAD31 #31AEAD
tetradic
#AD31AE #AE6E31 #32AE31 #3170AE
square
#AD31AE #AE6E31 #32AE31 #3170AE
split-complementary
#AD31AE #70AE31 #31AE6E
monochromatic
#4E164E #7E247E #AD31AE #CC4FCD #DA7FDB

Accessibility & contrast

On white

5.49
#AD31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AD31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31AE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AE#FFFFFF#000000##FFFFFF
##AD31AE1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#B2446D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31ae;
/* rgb */ color: rgb(173, 49, 174);
/* oklch */ color: oklch(54.9% 0.211 327.6);
Tailwind
colors: {
  custom: {
    50: '#c975c7',
    500: '#ad31ae',
    950: '#000000',
  },
}
SCSS
$custom: #ad31ae;
$custom-light: #c975c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31ae",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 299.52,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.21073,
    "h": 327.6
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#AD31AE
secondary
#78C477
accent
#DF484A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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