#AD31AC#AD31AC

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

Color values

HEX#AD31AC
RGBrgb(173, 49, 172)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0%, 71.7%, 0.6%, 32.2%)
CIE-LABlab(44.32, 63.65, -39.69)
CIE-LCHlch(44.32, 75.01, 328.05°)
OKLaboklab(54.75% 0.178 -0.1098)
OKLCHoklch(54.75% 0.209 328.3)
XYZxyz(25.7780, 14.0613, 40.3781)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31AC #31AD32
analogous
#7031AD #AD31AC #AD316E
triadic
#AD31AC #ACAD31 #31ACAD
tetradic
#AD31AC #AD7031 #31AD32 #316EAD
square
#AD31AC #AD7031 #31AD32 #316EAD
split-complementary
#AD31AC #6EAD31 #31AD70
monochromatic
#4E164D #7D237D #AD31AC #CD4ECC #DA7EDA

Accessibility & contrast

On white

5.51
#AD31AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AD31AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31AC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31AC#FFFFFF#000000##FFFFFF
##AD31AC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#536EA9
Tritanopia (blue-blind)
#B3436C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31ac;
/* rgb */ color: rgb(173, 49, 172);
/* oklch */ color: oklch(54.8% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#c975c5',
    500: '#ad31ac',
    950: '#000000',
  },
}
SCSS
$custom: #ad31ac;
$custom-light: #c975c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31ac",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 300.484,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.20917,
    "h": 328.3
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD31AC

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

Preview Lab → · Contrast checker → · Palette generator →

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