#AC2AA4#AC2AA4

#AC2AA4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 330.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AC2AA4
RGBrgb(172, 42, 164)
HSLhsl(304, 61%, 42%)
HSVhsv(304, 76%, 67%)
CMYKcmyk(0%, 75.6%, 4.7%, 32.5%)
CIE-LABlab(42.93, 64.40, -37.15)
CIE-LCHlch(42.93, 74.34, 330.02°)
OKLaboklab(53.58% 0.1833 -0.1025)
OKLCHoklch(53.58% 0.21 330.8)
XYZxyz(24.5420, 13.1089, 36.3524)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AA4 #2AAC32
analogous
#732AAC #AC2AA4 #AC2A63
triadic
#AC2AA4 #A4AC2A #2AA4AC
tetradic
#AC2AA4 #AC732A #2AAC32 #2A63AC
square
#AC2AA4 #AC732A #2AAC32 #2A63AC
split-complementary
#AC2AA4 #63AC2A #2AAC73
monochromatic
#4A1246 #7B1E75 #AC2AA4 #D142C8 #DD73D6

Accessibility & contrast

On white

5.80
#AC2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AA4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AA4#FFFFFF#000000##FFFFFF
##AC2AA41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA7
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#B33B65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2aa4;
/* rgb */ color: rgb(172, 42, 164);
/* oklch */ color: oklch(53.6% 0.210 330.8);
Tailwind
colors: {
  custom: {
    50: '#c972bf',
    500: '#ac2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aa4;
$custom-light: #c972bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aa4",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 303.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.21,
    "h": 330.8
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#AC2AA4
secondary
#6DC473
accent
#E44E44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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