#AC2AA8#AC2AA8

#AC2AA8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.213 H 329.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC2AA8
RGBrgb(172, 42, 168)
HSLhsl(302, 61%, 42%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 75.6%, 2.3%, 32.5%)
CIE-LABlab(43.15, 65.03, -39.19)
CIE-LCHlch(43.15, 75.92, 328.93°)
OKLaboklab(53.81% 0.1833 -0.1084)
OKLCHoklch(53.81% 0.213 329.4)
XYZxyz(24.9089, 13.2557, 38.2849)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AA8 #2AAC2E
analogous
#6F2AAC #AC2AA8 #AC2A67
triadic
#AC2AA8 #A8AC2A #2AA8AC
tetradic
#AC2AA8 #AC6F2A #2AAC2E #2A67AC
square
#AC2AA8 #AC6F2A #2AAC2E #2A67AC
split-complementary
#AC2AA8 #67AC2A #2AAC6F
monochromatic
#4A1248 #7B1E78 #AC2AA8 #D142CD #DD73DA

Accessibility & contrast

On white

5.75
#AC2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC2AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AA8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AA8#FFFFFF#000000##FFFFFF
##AC2AA81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAB
Deuteranopia (green-blind)
#516CA5
Tritanopia (blue-blind)
#B23D67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2aa8;
/* rgb */ color: rgb(172, 42, 168);
/* oklch */ color: oklch(53.8% 0.213 329.4);
Tailwind
colors: {
  custom: {
    50: '#c972c2',
    500: '#ac2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aa8;
$custom-light: #c972c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aa8",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 301.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.21296,
    "h": 329.4
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#AC2AA8
secondary
#6DC470
accent
#E44944
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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