#AC2DA8#AC2DA8

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

Color values

HEX#AC2DA8
RGBrgb(172, 45, 168)
HSLhsl(302, 59%, 43%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 73.8%, 2.3%, 32.5%)
CIE-LABlab(43.47, 64.09, -38.67)
CIE-LCHlch(43.47, 74.86, 328.90°)
OKLaboklab(54.04% 0.1807 -0.1069)
OKLCHoklch(54.04% 0.21 329.4)
XYZxyz(25.0193, 13.4765, 38.3217)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DA8 #2DAC31
analogous
#712DAC #AC2DA8 #AC2D68
triadic
#AC2DA8 #A8AC2D #2DA8AC
tetradic
#AC2DA8 #AC712D #2DAC31 #2D68AC
square
#AC2DA8 #AC712D #2DAC31 #2D68AC
split-complementary
#AC2DA8 #68AC2D #2DAC71
monochromatic
#4B1449 #7B2079 #AC2DA8 #CF47CB #DC78D8

Accessibility & contrast

On white

5.68
#AC2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2DA8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DA8#FFFFFF#000000##FFFFFF
##AC2DA81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAB
Deuteranopia (green-blind)
#526DA5
Tritanopia (blue-blind)
#B23F68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2da8;
/* rgb */ color: rgb(172, 45, 168);
/* oklch */ color: oklch(54.0% 0.210 329.4);
Tailwind
colors: {
  custom: {
    50: '#c873c2',
    500: '#ac2da8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2da8;
$custom-light: #c873c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2da8",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 301.89,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.20991,
    "h": 329.4
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#AC2DA8
secondary
#71C474
accent
#E24B46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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