#AC2E9D#AC2E9D

#AC2E9D is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.201 H 333.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC2E9D
RGBrgb(172, 46, 157)
HSLhsl(307, 58%, 43%)
HSVhsv(307, 73%, 67%)
CMYKcmyk(0%, 73.3%, 8.7%, 32.5%)
CIE-LABlab(43.00, 62.03, -32.83)
CIE-LCHlch(43.00, 70.19, 332.11°)
OKLaboklab(53.52% 0.1793 -0.09)
OKLCHoklch(53.52% 0.201 333.3)
XYZxyz(24.0762, 13.1610, 33.1640)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E9D #2EAC3D
analogous
#7C2EAC #AC2E9D #AC2E5E
triadic
#AC2E9D #9DAC2E #2E9DAC
tetradic
#AC2E9D #AC7C2E #2EAC3D #2E5EAC
square
#AC2E9D #AC7C2E #2EAC3D #2E5EAC
split-complementary
#AC2E9D #5EAC2E #2EAC7C
monochromatic
#4B1445 #7C2171 #AC2E9D #CE49BE #DB79D0

Accessibility & contrast

On white

5.78
#AC2E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC2E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E9D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E9D#FFFFFF#000000##FFFFFF
##AC2E9D1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#B43A62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2e9d;
/* rgb */ color: rgb(172, 46, 157);
/* oklch */ color: oklch(53.5% 0.201 333.3);
Tailwind
colors: {
  custom: {
    50: '#c873ba',
    500: '#ac2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e9d;
$custom-light: #c873ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e9d",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 307.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.20063,
    "h": 333.3
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#AC2E9D
secondary
#72C37C
accent
#E15947
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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