#AC2AA7#AC2AA7

#AC2AA7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.212 H 329.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC2AA7
RGBrgb(172, 42, 167)
HSLhsl(302, 61%, 42%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 75.6%, 2.9%, 32.5%)
CIE-LABlab(43.09, 64.87, -38.68)
CIE-LCHlch(43.09, 75.53, 329.19°)
OKLaboklab(53.75% 0.1833 -0.1069)
OKLCHoklch(53.75% 0.212 329.8)
XYZxyz(24.8161, 13.2185, 37.7961)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AA7 #2AAC2F
analogous
#702AAC #AC2AA7 #AC2A66
triadic
#AC2AA7 #A7AC2A #2AA7AC
tetradic
#AC2AA7 #AC702A #2AAC2F #2A66AC
square
#AC2AA7 #AC702A #2AAC2F #2A66AC
split-complementary
#AC2AA7 #66AC2A #2AAC70
monochromatic
#4A1247 #7B1E77 #AC2AA7 #D142CB #DD73D9

Accessibility & contrast

On white

5.76
#AC2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AA7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AA7#FFFFFF#000000##FFFFFF
##AC2AA71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165BAA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#B23D67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2aa7;
/* rgb */ color: rgb(172, 42, 167);
/* oklch */ color: oklch(53.8% 0.212 329.8);
Tailwind
colors: {
  custom: {
    50: '#c972c1',
    500: '#ac2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aa7;
$custom-light: #c972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aa7",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 302.308,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.21222,
    "h": 329.8
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#AC2AA7
secondary
#6DC471
accent
#E44A44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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