#AC2EAB#AC2EAB

#AC2EAB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.211 H 328.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AC2EAB
RGBrgb(172, 46, 171)
HSLhsl(300, 58%, 43%)
HSVhsv(300, 73%, 67%)
CMYKcmyk(0%, 73.3%, 0.6%, 32.5%)
CIE-LABlab(43.75, 64.26, -40.01)
CIE-LCHlch(43.75, 75.70, 328.09°)
OKLaboklab(54.29% 0.1798 -0.1108)
OKLCHoklch(54.29% 0.211 328.4)
XYZxyz(25.3407, 13.6668, 39.8235)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2EAB #2EAC2F
analogous
#6E2EAC #AC2EAB #AC2E6C
triadic
#AC2EAB #ABAC2E #2EABAC
tetradic
#AC2EAB #AC6E2E #2EAC2F #2E6CAC
square
#AC2EAB #AC6E2E #2EAC2F #2E6CAC
split-complementary
#AC2EAB #6CAC2E #2EAC6E
monochromatic
#4B144B #7C217B #AC2EAB #CE49CD #DB79DA

Accessibility & contrast

On white

5.63
#AC2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2EAB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2EAB#FFFFFF#000000##FFFFFF
##AC2EAB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#B2416A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2eab;
/* rgb */ color: rgb(172, 46, 171);
/* oklch */ color: oklch(54.3% 0.211 328.4);
Tailwind
colors: {
  custom: {
    50: '#c874c4',
    500: '#ac2eab',
    950: '#000000',
  },
}
SCSS
$custom: #ac2eab;
$custom-light: #c874c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2eab",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 300.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.21115,
    "h": 328.4
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#AC2EAB
secondary
#72C373
accent
#E14847
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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