#AC2FA4#AC2FA4

#AC2FA4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.205 H 330.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA4
RGBrgb(172, 47, 164)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 73%, 67%)
CMYKcmyk(0%, 72.7%, 4.7%, 32.5%)
CIE-LABlab(43.49, 62.80, -36.26)
CIE-LCHlch(43.49, 72.52, 329.99°)
OKLaboklab(53.98% 0.1787 -0.0999)
OKLCHoklch(53.98% 0.205 330.8)
XYZxyz(24.7306, 13.4860, 36.4153)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA4 #2FAC37
analogous
#752FAC #AC2FA4 #AC2F65
triadic
#AC2FA4 #A4AC2F #2FA4AC
tetradic
#AC2FA4 #AC752F #2FAC37 #2F65AC
square
#AC2FA4 #AC752F #2FAC37 #2F65AC
split-complementary
#AC2FA4 #65AC2F #2FAC75
monochromatic
#4C1548 #7C2276 #AC2FA4 #CE4BC5 #DB7BD5

Accessibility & contrast

On white

5.68
#AC2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA4#FFFFFF#000000##FFFFFF
##AC2FA41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#B33E67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa4;
/* rgb */ color: rgb(172, 47, 164);
/* oklch */ color: oklch(54.0% 0.205 330.8);
Tailwind
colors: {
  custom: {
    50: '#c874bf',
    500: '#ac2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa4;
$custom-light: #c874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa4",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 303.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.20474,
    "h": 330.8
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#AC2FA4
secondary
#74C379
accent
#E05147
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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