#AC2AB7#AC2AB7

#AC2AB7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.224 H 324.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB7
RGBrgb(172, 42, 183)
HSLhsl(295, 63%, 44%)
HSVhsv(295, 77%, 72%)
CMYKcmyk(6%, 77%, 0%, 28.2%)
CIE-LABlab(44.01, 67.50, -46.68)
CIE-LCHlch(44.01, 82.07, 325.34°)
OKLaboklab(54.7% 0.1828 -0.1302)
OKLCHoklch(54.7% 0.224 324.5)
XYZxyz(26.3878, 13.8472, 46.0735)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB7 #35B72A
analogous
#662AB7 #AC2AB7 #B72A7C
triadic
#AC2AB7 #B7AC2A #2AB7AC
tetradic
#AC2AB7 #B7662A #35B72A #2A7CB7
square
#AC2AB7 #B7662A #35B72A #2A7CB7
split-complementary
#AC2AB7 #7CB72A #2AB766
monochromatic
#4E1353 #7D1F85 #AC2AB7 #CA49D5 #D97BE1

Accessibility & contrast

On white

5.57
#AC2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB7#FFFFFF#000000##FFFFFF
##AC2AB71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#B04570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2ab7;
/* rgb */ color: rgb(172, 42, 183);
/* oklch */ color: oklch(54.7% 0.224 324.5);
Tailwind
colors: {
  custom: {
    50: '#c973cd',
    500: '#ac2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab7;
$custom-light: #c973cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab7",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 295.319,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.22443,
    "h": 324.5
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#AC2AB7
secondary
#7BC974
accent
#E6424F
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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