#AC31BD#AC31BD

#AC31BD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.222 H 322.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AC31BD
RGBrgb(172, 49, 189)
HSLhsl(293, 59%, 47%)
HSVhsv(293, 74%, 74%)
CMYKcmyk(9%, 74.1%, 0%, 25.9%)
CIE-LABlab(45.14, 66.34, -48.39)
CIE-LCHlch(45.14, 82.11, 323.89°)
OKLaboklab(55.62% 0.1764 -0.1352)
OKLCHoklch(55.62% 0.222 322.5)
XYZxyz(27.2960, 14.6430, 49.5229)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC31BD #42BD31
analogous
#6631BD #AC31BD #BD3188
triadic
#AC31BD #BDAC31 #31BDAC
tetradic
#AC31BD #BD6631 #42BD31 #3188BD
square
#AC31BD #BD6631 #42BD31 #3188BD
split-complementary
#AC31BD #88BD31 #31BD66
monochromatic
#54185C #80248C #AC31BD #C558D4 #D688E0

Accessibility & contrast

On white

5.35
#AC31BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AC31BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC31BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC31BD#FFFFFF#000000##FFFFFF
##AC31BD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#AE4C75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac31bd;
/* rgb */ color: rgb(172, 49, 189);
/* oklch */ color: oklch(55.6% 0.222 322.5);
Tailwind
colors: {
  custom: {
    50: '#c976d1',
    500: '#ac31bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac31bd;
$custom-light: #c976d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac31bd",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 292.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.22227,
    "h": 322.5
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#AC31BD
secondary
#89CA80
accent
#E24659
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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