#AC2FA5#AC2FA5

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

Color values

HEX#AC2FA5
RGBrgb(172, 47, 165)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 73%, 67%)
CMYKcmyk(0%, 72.7%, 4.1%, 32.5%)
CIE-LABlab(43.54, 62.96, -36.78)
CIE-LCHlch(43.54, 72.91, 329.71°)
OKLaboklab(54.04% 0.1787 -0.1014)
OKLCHoklch(54.04% 0.205 330.4)
XYZxyz(24.8212, 13.5222, 36.8928)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA5 #2FAC36
analogous
#742FAC #AC2FA5 #AC2F66
triadic
#AC2FA5 #A5AC2F #2FA5AC
tetradic
#AC2FA5 #AC742F #2FAC36 #2F66AC
square
#AC2FA5 #AC742F #2FAC36 #2F66AC
split-complementary
#AC2FA5 #66AC2F #2FAC74
monochromatic
#4C1549 #7C2277 #AC2FA5 #CE4BC6 #DB7BD5

Accessibility & contrast

On white

5.67
#AC2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2FA5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA5#FFFFFF#000000##FFFFFF
##AC2FA51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B33F67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa5;
/* rgb */ color: rgb(172, 47, 165);
/* oklch */ color: oklch(54.0% 0.205 330.4);
Tailwind
colors: {
  custom: {
    50: '#c874c0',
    500: '#ac2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa5;
$custom-light: #c874c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa5",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 303.36,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.20549,
    "h": 330.4
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#AC2FA5
secondary
#74C378
accent
#E05047
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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