#AC2F9E#AC2F9E

#AC2F9E is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.200 H 333.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC2F9E
RGBrgb(172, 47, 158)
HSLhsl(307, 57%, 43%)
HSVhsv(307, 73%, 67%)
CMYKcmyk(0%, 72.7%, 8.1%, 32.5%)
CIE-LABlab(43.17, 61.85, -33.17)
CIE-LCHlch(43.17, 70.18, 331.80°)
OKLaboklab(53.65% 0.1784 -0.091)
OKLCHoklch(53.65% 0.2 333)
XYZxyz(24.2014, 13.2743, 33.6287)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F9E #2FAC3D
analogous
#7B2FAC #AC2F9E #AC2F5F
triadic
#AC2F9E #9EAC2F #2F9EAC
tetradic
#AC2F9E #AC7B2F #2FAC3D #2F5FAC
square
#AC2F9E #AC7B2F #2FAC3D #2F5FAC
split-complementary
#AC2F9E #5FAC2F #2FAC7B
monochromatic
#4C1546 #7C2272 #AC2F9E #CE4BBF #DB7BD0

Accessibility & contrast

On white

5.75
#AC2F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F9E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F9E#FFFFFF#000000##FFFFFF
##AC2F9E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#B43C63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2f9e;
/* rgb */ color: rgb(172, 47, 158);
/* oklch */ color: oklch(53.7% 0.200 333.0);
Tailwind
colors: {
  custom: {
    50: '#c874bb',
    500: '#ac2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f9e;
$custom-light: #c874bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f9e",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 306.72,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.20026,
    "h": 333
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#AC2F9E
secondary
#74C37D
accent
#E05947
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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