#AC2FA2#AC2FA2

#AC2FA2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.203 H 331.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC2FA2
RGBrgb(172, 47, 162)
HSLhsl(305, 57%, 43%)
HSVhsv(305, 73%, 67%)
CMYKcmyk(0%, 72.7%, 5.8%, 32.5%)
CIE-LABlab(43.38, 62.48, -35.24)
CIE-LCHlch(43.38, 71.73, 330.58°)
OKLaboklab(53.87% 0.1786 -0.097)
OKLCHoklch(53.87% 0.203 331.5)
XYZxyz(24.5514, 13.4143, 35.4716)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA2 #2FAC39
analogous
#772FAC #AC2FA2 #AC2F63
triadic
#AC2FA2 #A2AC2F #2FA2AC
tetradic
#AC2FA2 #AC772F #2FAC39 #2F63AC
square
#AC2FA2 #AC772F #2FAC39 #2F63AC
split-complementary
#AC2FA2 #63AC2F #2FAC77
monochromatic
#4C1547 #7C2275 #AC2FA2 #CE4BC3 #DB7BD3

Accessibility & contrast

On white

5.70
#AC2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2FA2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA2#FFFFFF#000000##FFFFFF
##AC2FA21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#566D9F
Tritanopia (blue-blind)
#B33E65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2fa2;
/* rgb */ color: rgb(172, 47, 162);
/* oklch */ color: oklch(53.9% 0.203 331.5);
Tailwind
colors: {
  custom: {
    50: '#c874be',
    500: '#ac2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa2;
$custom-light: #c874be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa2",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 304.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.20324,
    "h": 331.5
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#AC2FA2
secondary
#74C37A
accent
#E05447
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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