#AC2FA9#AC2FA9

#AC2FA9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.209 H 329.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA9
RGBrgb(172, 47, 169)
HSLhsl(301, 57%, 43%)
HSVhsv(301, 73%, 67%)
CMYKcmyk(0%, 72.7%, 1.7%, 32.5%)
CIE-LABlab(43.76, 63.60, -38.81)
CIE-LCHlch(43.76, 74.51, 328.61°)
OKLaboklab(54.26% 0.1788 -0.1073)
OKLCHoklch(54.26% 0.209 329)
XYZxyz(25.1910, 13.6701, 38.8402)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA9 #2FAC32
analogous
#702FAC #AC2FA9 #AC2F6A
triadic
#AC2FA9 #A9AC2F #2FA9AC
tetradic
#AC2FA9 #AC702F #2FAC32 #2F6AAC
square
#AC2FA9 #AC702F #2FAC32 #2F6AAC
split-complementary
#AC2FA9 #6AAC2F #2FAC70
monochromatic
#4C154B #7C227A #AC2FA9 #CE4BCB #DB7BD9

Accessibility & contrast

On white

5.62
#AC2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA9#FFFFFF#000000##FFFFFF
##AC2FA91.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#536DA6
Tritanopia (blue-blind)
#B24169
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa9;
/* rgb */ color: rgb(172, 47, 169);
/* oklch */ color: oklch(54.3% 0.209 329.0);
Tailwind
colors: {
  custom: {
    50: '#c874c3',
    500: '#ac2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa9;
$custom-light: #c874c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa9",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 301.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.20855,
    "h": 329
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#AC2FA9
secondary
#74C376
accent
#E04B47
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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