#AC2EB4#AC2EB4

#AC2EB4 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC2EB4
RGBrgb(172, 46, 180)
HSLhsl(296, 59%, 44%)
HSVhsv(296, 74%, 71%)
CMYKcmyk(4.4%, 74.4%, 0%, 29.4%)
CIE-LABlab(44.26, 65.76, -44.51)
CIE-LCHlch(44.26, 79.41, 325.91°)
OKLaboklab(54.83% 0.1796 -0.1239)
OKLCHoklch(54.83% 0.218 325.4)
XYZxyz(26.2279, 14.0217, 44.4962)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EB4 #36B42E
analogous
#692EB4 #AC2EB4 #B42E79
triadic
#AC2EB4 #B4AC2E #2EB4AC
tetradic
#AC2EB4 #B4692E #36B42E #2E79B4
square
#AC2EB4 #B4692E #36B42E #2E79B4
split-complementary
#AC2EB4 #79B42E #2EB469
monochromatic
#4F1553 #7D2283 #AC2EB4 #CA4ED2 #D87EDE

Accessibility & contrast

On white

5.52
#AC2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AC2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EB4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EB4#FFFFFF#000000##FFFFFF
##AC2EB41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#B0466F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2eb4;
/* rgb */ color: rgb(172, 46, 180);
/* oklch */ color: oklch(54.8% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#c974cb',
    500: '#ac2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eb4;
$custom-light: #c974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eb4",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 296.418,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.21817,
    "h": 325.4
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#AC2EB4
secondary
#7CC777
accent
#E2454F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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