#AC2AB8#AC2AB8

#AC2AB8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.225 H 324.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB8
RGBrgb(172, 42, 184)
HSLhsl(295, 63%, 44%)
HSVhsv(295, 77%, 72%)
CMYKcmyk(6.5%, 77.2%, 0%, 27.8%)
CIE-LABlab(44.07, 67.67, -47.17)
CIE-LCHlch(44.07, 82.49, 325.12°)
OKLaboklab(54.77% 0.1827 -0.1316)
OKLCHoklch(54.77% 0.225 324.2)
XYZxyz(26.4922, 13.8890, 46.6236)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB8 #36B82A
analogous
#652AB8 #AC2AB8 #B82A7D
triadic
#AC2AB8 #B8AC2A #2AB8AC
tetradic
#AC2AB8 #B8652A #36B82A #2A7DB8
square
#AC2AB8 #B8652A #36B82A #2A7DB8
split-complementary
#AC2AB8 #7DB82A #2AB865
monochromatic
#4F1354 #7D1F86 #AC2AB8 #CA4AD6 #D87BE1

Accessibility & contrast

On white

5.56
#AC2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC2AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB8#FFFFFF#000000##FFFFFF
##AC2AB81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#476DB5
Tritanopia (blue-blind)
#AF4571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2ab8;
/* rgb */ color: rgb(172, 42, 184);
/* oklch */ color: oklch(54.8% 0.225 324.2);
Tailwind
colors: {
  custom: {
    50: '#c973ce',
    500: '#ac2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab8;
$custom-light: #c973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab8",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 294.93,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.22521,
    "h": 324.2
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#AC2AB8
secondary
#7CC975
accent
#E64250
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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