#AC2F9D#AC2F9D

#AC2F9D is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.6% C 0.200 H 333.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC2F9D
RGBrgb(172, 47, 157)
HSLhsl(307, 57%, 43%)
HSVhsv(307, 73%, 67%)
CMYKcmyk(0%, 72.7%, 8.7%, 32.5%)
CIE-LABlab(43.12, 61.70, -32.65)
CIE-LCHlch(43.12, 69.80, 332.11°)
OKLaboklab(53.6% 0.1783 -0.0895)
OKLCHoklch(53.6% 0.2 333.3)
XYZxyz(24.1157, 13.2400, 33.1772)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F9D #2FAC3E
analogous
#7C2FAC #AC2F9D #AC2F5E
triadic
#AC2F9D #9DAC2F #2F9DAC
tetradic
#AC2F9D #AC7C2F #2FAC3E #2F5EAC
square
#AC2F9D #AC7C2F #2FAC3E #2F5EAC
split-complementary
#AC2F9D #5EAC2F #2FAC7C
monochromatic
#4C1545 #7C2271 #AC2F9D #CE4BBE #DB7BCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2F9D#FFFFFF#000000##FFFFFF
##AC2F9D1.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)
#2B5AA0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#B43B63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2f9d;
/* rgb */ color: rgb(172, 47, 157);
/* oklch */ color: oklch(53.6% 0.200 333.3);
Tailwind
colors: {
  custom: {
    50: '#c874ba',
    500: '#ac2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f9d;
$custom-light: #c874ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f9d",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 307.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.19952,
    "h": 333.3
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#AC2F9D
secondary
#74C37D
accent
#E05A47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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