#AC2E9B#AC2E9B

#AC2E9B is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.199 H 334.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AC2E9B
RGBrgb(172, 46, 155)
HSLhsl(308, 58%, 43%)
HSVhsv(308, 73%, 67%)
CMYKcmyk(0%, 73.3%, 9.9%, 32.5%)
CIE-LABlab(42.90, 61.73, -31.79)
CIE-LCHlch(42.90, 69.43, 332.75°)
OKLaboklab(53.41% 0.1792 -0.087)
OKLCHoklch(53.41% 0.199 334.1)
XYZxyz(23.9069, 13.0933, 32.2721)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E9B #2EAC3F
analogous
#7E2EAC #AC2E9B #AC2E5C
triadic
#AC2E9B #9BAC2E #2E9BAC
tetradic
#AC2E9B #AC7E2E #2EAC3F #2E5CAC
square
#AC2E9B #AC7E2E #2EAC3F #2E5CAC
split-complementary
#AC2E9B #5CAC2E #2EAC7E
monochromatic
#4B1444 #7C216F #AC2E9B #CE49BC #DB79CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2E9B#FFFFFF#000000##FFFFFF
##AC2E9B1.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)
#2B5A9E
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#B43961
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e9b;
/* rgb */ color: rgb(172, 46, 155);
/* oklch */ color: oklch(53.4% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#c873b9',
    500: '#ac2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e9b;
$custom-light: #c873b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e9b",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 308.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.19918,
    "h": 334.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#AC2E9B
secondary
#72C37D
accent
#E15C47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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