#AC2FA1#AC2FA1

#AC2FA1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.202 H 331.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA1
RGBrgb(172, 47, 161)
HSLhsl(305, 57%, 43%)
HSVhsv(305, 73%, 67%)
CMYKcmyk(0%, 72.7%, 6.4%, 32.5%)
CIE-LABlab(43.33, 62.32, -34.72)
CIE-LCHlch(43.33, 71.34, 330.88°)
OKLaboklab(53.82% 0.1786 -0.0955)
OKLCHoklch(53.82% 0.202 331.9)
XYZxyz(24.4628, 13.3789, 35.0053)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA1 #2FAC3A
analogous
#782FAC #AC2FA1 #AC2F62
triadic
#AC2FA1 #A1AC2F #2FA1AC
tetradic
#AC2FA1 #AC782F #2FAC3A #2F62AC
square
#AC2FA1 #AC782F #2FAC3A #2F62AC
split-complementary
#AC2FA1 #62AC2F #2FAC78
monochromatic
#4C1547 #7C2274 #AC2FA1 #CE4BC2 #DB7BD2

Accessibility & contrast

On white

5.71
#AC2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA1#FFFFFF#000000##FFFFFF
##AC2FA11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#B33D65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2fa1;
/* rgb */ color: rgb(172, 47, 161);
/* oklch */ color: oklch(53.8% 0.202 331.9);
Tailwind
colors: {
  custom: {
    50: '#c874bd',
    500: '#ac2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa1;
$custom-light: #c874bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa1",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 305.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.20248,
    "h": 331.9
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#AC2FA1
secondary
#74C37B
accent
#E05547
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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