#AC31AD#AC31AD

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

Color values

HEX#AC31AD
RGBrgb(172, 49, 173)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0.6%, 71.7%, 0%, 32.2%)
CIE-LABlab(44.21, 63.59, -40.46)
CIE-LCHlch(44.21, 75.37, 327.53°)
OKLaboklab(54.66% 0.1769 -0.1121)
OKLCHoklch(54.66% 0.209 327.6)
XYZxyz(25.6540, 13.9862, 40.8755)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC31AD #32AD31
analogous
#6E31AD #AC31AD #AD3170
triadic
#AC31AD #ADAC31 #31ADAC
tetradic
#AC31AD #AD6E31 #32AD31 #3170AD
square
#AC31AD #AD6E31 #32AD31 #3170AD
split-complementary
#AC31AD #70AD31 #31AD6E
monochromatic
#4D164E #7D237D #AC31AD #CC4ECD #DA7EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC31AD#FFFFFF#000000##FFFFFF
##AC31AD1.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)
#195EB0
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#B1446C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac31ad;
/* rgb */ color: rgb(172, 49, 173);
/* oklch */ color: oklch(54.7% 0.209 327.6);
Tailwind
colors: {
  custom: {
    50: '#c875c6',
    500: '#ac31ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac31ad;
$custom-light: #c875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac31ad",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 299.516,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.20946,
    "h": 327.6
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC31AD

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

Preview Lab → · Contrast checker → · Palette generator →

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