#AC2DA7#AC2DA7

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

Color values

HEX#AC2DA7
RGBrgb(172, 45, 167)
HSLhsl(302, 59%, 43%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 73.8%, 2.9%, 32.5%)
CIE-LABlab(43.42, 63.93, -38.16)
CIE-LCHlch(43.42, 74.46, 329.17°)
OKLaboklab(53.98% 0.1807 -0.1054)
OKLCHoklch(53.98% 0.209 329.7)
XYZxyz(24.9265, 13.4394, 37.8329)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DA7 #2DAC32
analogous
#712DAC #AC2DA7 #AC2D68
triadic
#AC2DA7 #A7AC2D #2DA7AC
tetradic
#AC2DA7 #AC712D #2DAC32 #2D68AC
square
#AC2DA7 #AC712D #2DAC32 #2D68AC
split-complementary
#AC2DA7 #68AC2D #2DAC71
monochromatic
#4B1449 #7B2078 #AC2DA7 #CF47CA #DC78D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2DA7#FFFFFF#000000##FFFFFF
##AC2DA71.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAA
Deuteranopia (green-blind)
#536DA4
Tritanopia (blue-blind)
#B23F68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2da7;
/* rgb */ color: rgb(172, 45, 167);
/* oklch */ color: oklch(54.0% 0.209 329.7);
Tailwind
colors: {
  custom: {
    50: '#c873c1',
    500: '#ac2da7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2da7;
$custom-light: #c873c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2da7",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 302.362,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.20916,
    "h": 329.7
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#AC2DA7
secondary
#71C474
accent
#E24C46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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