#AC2FAC#AC2FAC

#AC2FAC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.211 H 328.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AC2FAC
RGBrgb(172, 47, 172)
HSLhsl(300, 57%, 43%)
HSVhsv(300, 73%, 67%)
CMYKcmyk(0%, 72.7%, 0%, 32.5%)
CIE-LABlab(43.92, 64.10, -40.33)
CIE-LCHlch(43.92, 75.73, 327.82°)
OKLaboklab(54.43% 0.1788 -0.1117)
OKLCHoklch(54.43% 0.211 328)
XYZxyz(25.4758, 13.7841, 40.3405)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FAC #2FAC2F
analogous
#6D2FAC #AC2FAC #AC2F6D
triadic
#AC2FAC #ACAC2F #2FACAC
tetradic
#AC2FAC #AC6D2F #2FAC2F #2F6DAC
square
#AC2FAC #AC6D2F #2FAC2F #2F6DAC
split-complementary
#AC2FAC #6DAC2F #2FAC6D
monochromatic
#4C154C #7C227C #AC2FAC #CE4BCE #DB7BDB

Accessibility & contrast

On white

5.59
#AC2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AC2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FAC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FAC#FFFFFF#000000##FFFFFF
##AC2FAC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#B1426B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2fac;
/* rgb */ color: rgb(172, 47, 172);
/* oklch */ color: oklch(54.4% 0.211 328.0);
Tailwind
colors: {
  custom: {
    50: '#c874c5',
    500: '#ac2fac',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fac;
$custom-light: #c874c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fac",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.21086,
    "h": 328
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#AC2FAC
secondary
#74C374
accent
#E04747
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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