#AC2FA3#AC2FA3

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

Color values

HEX#AC2FA3
RGBrgb(172, 47, 163)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 73%, 67%)
CMYKcmyk(0%, 72.7%, 5.2%, 32.5%)
CIE-LABlab(43.43, 62.64, -35.75)
CIE-LCHlch(43.43, 72.12, 330.28°)
OKLaboklab(53.93% 0.1787 -0.0985)
OKLCHoklch(53.93% 0.204 331.1)
XYZxyz(24.6406, 13.4500, 35.9416)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2FA3 #2FAC38
analogous
#762FAC #AC2FA3 #AC2F64
triadic
#AC2FA3 #A3AC2F #2FA3AC
tetradic
#AC2FA3 #AC762F #2FAC38 #2F64AC
square
#AC2FA3 #AC762F #2FAC38 #2F64AC
split-complementary
#AC2FA3 #64AC2F #2FAC76
monochromatic
#4C1548 #7C2275 #AC2FA3 #CE4BC4 #DB7BD4

Accessibility & contrast

On white

5.69
#AC2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2FA3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2FA3#FFFFFF#000000##FFFFFF
##AC2FA31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA6
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#B33E66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2fa3;
/* rgb */ color: rgb(172, 47, 163);
/* oklch */ color: oklch(53.9% 0.204 331.1);
Tailwind
colors: {
  custom: {
    50: '#c874be',
    500: '#ac2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2fa3;
$custom-light: #c874be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2fa3",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 304.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.20399,
    "h": 331.1
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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