#AC2AB3#AC2AB3

#AC2AB3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.221 H 325.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB3
RGBrgb(172, 42, 179)
HSLhsl(297, 62%, 43%)
HSVhsv(297, 77%, 70%)
CMYKcmyk(3.9%, 76.5%, 0%, 29.8%)
CIE-LABlab(43.77, 66.83, -44.70)
CIE-LCHlch(43.77, 80.40, 326.22°)
OKLaboklab(54.46% 0.1831 -0.1244)
OKLCHoklch(54.46% 0.221 325.8)
XYZxyz(25.9774, 13.6830, 43.9119)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB3 #31B32A
analogous
#672AB3 #AC2AB3 #B32A75
triadic
#AC2AB3 #B3AC2A #2AB3AC
tetradic
#AC2AB3 #B3672A #31B32A #2A75B3
square
#AC2AB3 #B3672A #31B32A #2A75B3
split-complementary
#AC2AB3 #75B32A #2AB367
monochromatic
#4D1350 #7C1E81 #AC2AB3 #CC46D4 #DA78DF

Accessibility & contrast

On white

5.62
#AC2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AC2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB3#FFFFFF#000000##FFFFFF
##AC2AB31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#B0436E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2ab3;
/* rgb */ color: rgb(172, 42, 179);
/* oklch */ color: oklch(54.5% 0.221 325.8);
Tailwind
colors: {
  custom: {
    50: '#c973ca',
    500: '#ac2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab3;
$custom-light: #c973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab3",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 296.934,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.22134,
    "h": 325.8
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#AC2AB3
secondary
#76C772
accent
#E5434B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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