#AC2E9F#AC2E9F

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

Color values

HEX#AC2E9F
RGBrgb(172, 46, 159)
HSLhsl(306, 58%, 43%)
HSVhsv(306, 73%, 67%)
CMYKcmyk(0%, 73.3%, 7.6%, 32.5%)
CIE-LABlab(43.11, 62.34, -33.87)
CIE-LCHlch(43.11, 70.95, 331.48°)
OKLaboklab(53.62% 0.1794 -0.093)
OKLCHoklch(53.62% 0.202 332.6)
XYZxyz(24.2484, 13.2299, 34.0707)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E9F #2EAC3B
analogous
#7A2EAC #AC2E9F #AC2E60
triadic
#AC2E9F #9FAC2E #2E9FAC
tetradic
#AC2E9F #AC7A2E #2EAC3B #2E60AC
square
#AC2E9F #AC7A2E #2EAC3B #2E60AC
split-complementary
#AC2E9F #60AC2E #2EAC7A
monochromatic
#4B1446 #7C2172 #AC2E9F #CE49C1 #DB79D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2E9F#FFFFFF#000000##FFFFFF
##AC2E9F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B43B64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2e9f;
/* rgb */ color: rgb(172, 46, 159);
/* oklch */ color: oklch(53.6% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ac2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e9f;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e9f",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 306.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.20211,
    "h": 332.6
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#AC2E9F
secondary
#72C37B
accent
#E15747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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