#AC2F9F#AC2F9F

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

Color values

HEX#AC2F9F
RGBrgb(172, 47, 159)
HSLhsl(306, 57%, 43%)
HSVhsv(306, 73%, 67%)
CMYKcmyk(0%, 72.7%, 7.6%, 32.5%)
CIE-LABlab(43.23, 62.01, -33.69)
CIE-LCHlch(43.23, 70.57, 331.49°)
OKLaboklab(53.71% 0.1785 -0.0925)
OKLCHoklch(53.71% 0.201 332.6)
XYZxyz(24.2879, 13.3089, 34.0839)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F9F #2FAC3C
analogous
#7A2FAC #AC2F9F #AC2F60
triadic
#AC2F9F #9FAC2F #2F9FAC
tetradic
#AC2F9F #AC7A2F #2FAC3C #2F60AC
square
#AC2F9F #AC7A2F #2FAC3C #2F60AC
split-complementary
#AC2F9F #60AC2F #2FAC7A
monochromatic
#4C1546 #7C2273 #AC2F9F #CE4BC0 #DB7BD1

Accessibility & contrast

On white

5.74
#AC2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F9F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F9F#FFFFFF#000000##FFFFFF
##AC2F9F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#B43C64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2f9f;
/* rgb */ color: rgb(172, 47, 159);
/* oklch */ color: oklch(53.7% 0.201 332.6);
Tailwind
colors: {
  custom: {
    50: '#c874bc',
    500: '#ac2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f9f;
$custom-light: #c874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f9f",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 306.24,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.201,
    "h": 332.6
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#AC2F9F
secondary
#74C37C
accent
#E05747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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