#AC31A0#AC31A0

#AC31A0 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.199 H 332.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC31A0
RGBrgb(172, 49, 160)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 71.5%, 7%, 32.5%)
CIE-LABlab(43.52, 61.48, -33.82)
CIE-LCHlch(43.52, 70.17, 331.18°)
OKLaboklab(53.94% 0.1765 -0.0929)
OKLCHoklch(53.94% 0.199 332.2)
XYZxyz(24.4568, 13.5073, 34.5700)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC31A0 #31AC3D
analogous
#7A31AC #AC31A0 #AC3162
triadic
#AC31A0 #A0AC31 #31A0AC
tetradic
#AC31A0 #AC7A31 #31AC3D #3162AC
square
#AC31A0 #AC7A31 #31AC3D #3162AC
split-complementary
#AC31A0 #62AC31 #31AC7A
monochromatic
#4D1647 #7C2374 #AC31A0 #CC4EC0 #DA7DD1

Accessibility & contrast

On white

5.67
#AC31A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC31A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC31A0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC31A0#FFFFFF#000000##FFFFFF
##AC31A01.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA3
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#B33E65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac31a0;
/* rgb */ color: rgb(172, 49, 160);
/* oklch */ color: oklch(53.9% 0.199 332.2);
Tailwind
colors: {
  custom: {
    50: '#c875bc',
    500: '#ac31a0',
    950: '#000000',
  },
}
SCSS
$custom: #ac31a0;
$custom-light: #c875bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac31a0",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 305.854,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.19948,
    "h": 332.2
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#AC31A0
secondary
#76C37D
accent
#DF5749
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC31A0

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

Preview Lab → · Contrast checker → · Palette generator →

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