#AC2CB5#AC2CB5

#AC2CB5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.221 H 325.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AC2CB5
RGBrgb(172, 44, 181)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 76%, 71%)
CMYKcmyk(5%, 75.7%, 0%, 29%)
CIE-LABlab(44.10, 66.56, -45.36)
CIE-LCHlch(44.10, 80.55, 325.73°)
OKLaboklab(54.73% 0.1813 -0.1263)
OKLCHoklch(54.73% 0.221 325.1)
XYZxyz(26.2538, 13.9099, 45.0092)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CB5 #35B52C
analogous
#672CB5 #AC2CB5 #B52C7A
triadic
#AC2CB5 #B5AC2C #2CB5AC
tetradic
#AC2CB5 #B5672C #35B52C #2C7AB5
square
#AC2CB5 #B5672C #35B52C #2C7AB5
split-complementary
#AC2CB5 #7AB52C #2CB567
monochromatic
#4E1453 #7D2084 #AC2CB5 #CA4BD3 #D97CDF

Accessibility & contrast

On white

5.55
#AC2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC2CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CB5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CB5#FFFFFF#000000##FFFFFF
##AC2CB51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#4A6DB2
Tritanopia (blue-blind)
#B0456F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2cb5;
/* rgb */ color: rgb(172, 44, 181);
/* oklch */ color: oklch(54.7% 0.221 325.1);
Tailwind
colors: {
  custom: {
    50: '#c974cc',
    500: '#ac2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cb5;
$custom-light: #c974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cb5",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 296.058,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.22095,
    "h": 325.1
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#AC2CB5
secondary
#7BC875
accent
#E4444E
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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