#AC31AE#AC31AE

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

Color values

HEX#AC31AE
RGBrgb(172, 49, 174)
HSLhsl(299, 56%, 44%)
HSVhsv(299, 72%, 68%)
CMYKcmyk(1.1%, 71.8%, 0%, 31.8%)
CIE-LABlab(44.27, 63.76, -40.96)
CIE-LCHlch(44.27, 75.78, 327.28°)
OKLaboklab(54.72% 0.1769 -0.1136)
OKLCHoklch(54.72% 0.21 327.3)
XYZxyz(25.7512, 14.0251, 41.3870)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC31AE #33AE31
analogous
#6D31AE #AC31AE #AE3171
triadic
#AC31AE #AEAC31 #31AEAC
tetradic
#AC31AE #AE6D31 #33AE31 #3171AE
square
#AC31AE #AE6D31 #33AE31 #3171AE
split-complementary
#AC31AE #71AE31 #31AE6D
monochromatic
#4E164E #7D247E #AC31AE #CB4FCD #D97FDB

Accessibility & contrast

On white

5.52
#AC31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC31AE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC31AE#FFFFFF#000000##FFFFFF
##AC31AE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B1456D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac31ae;
/* rgb */ color: rgb(172, 49, 174);
/* oklch */ color: oklch(54.7% 0.210 327.3);
Tailwind
colors: {
  custom: {
    50: '#c875c7',
    500: '#ac31ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac31ae;
$custom-light: #c875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac31ae",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 299.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.21025,
    "h": 327.3
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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