#AC2D9E#AC2D9E

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

Color values

HEX#AC2D9E
RGBrgb(172, 45, 158)
HSLhsl(307, 59%, 43%)
HSVhsv(307, 74%, 67%)
CMYKcmyk(0%, 73.8%, 8.1%, 32.5%)
CIE-LABlab(42.94, 62.52, -33.53)
CIE-LCHlch(42.94, 70.94, 331.79°)
OKLaboklab(53.49% 0.1803 -0.0921)
OKLCHoklch(53.49% 0.202 333)
XYZxyz(24.1233, 13.1181, 33.6026)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D9E #2DAC3B
analogous
#7A2DAC #AC2D9E #AC2D5F
triadic
#AC2D9E #9EAC2D #2D9EAC
tetradic
#AC2D9E #AC7A2D #2DAC3B #2D5FAC
square
#AC2D9E #AC7A2D #2DAC3B #2D5FAC
split-complementary
#AC2D9E #5FAC2D #2DAC7A
monochromatic
#4B1445 #7B2071 #AC2D9E #CF47C0 #DC78D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2D9E#FFFFFF#000000##FFFFFF
##AC2D9E1.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)
#275AA1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B43A63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d9e;
/* rgb */ color: rgb(172, 45, 158);
/* oklch */ color: oklch(53.5% 0.202 333.0);
Tailwind
colors: {
  custom: {
    50: '#c873bb',
    500: '#ac2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d9e;
$custom-light: #c873bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d9e",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 306.614,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.20247,
    "h": 333
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#AC2D9E
secondary
#71C47A
accent
#E25746
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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