#AC2CB1#AC2CB1

#AC2CB1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.218 H 326.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC2CB1
RGBrgb(172, 44, 177)
HSLhsl(298, 60%, 43%)
HSVhsv(298, 75%, 69%)
CMYKcmyk(2.8%, 75.1%, 0%, 30.6%)
CIE-LABlab(43.87, 65.89, -43.37)
CIE-LCHlch(43.87, 78.88, 326.64°)
OKLaboklab(54.49% 0.1814 -0.1206)
OKLCHoklch(54.49% 0.218 326.4)
XYZxyz(25.8493, 13.7481, 42.8786)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CB1 #31B12C
analogous
#692CB1 #AC2CB1 #B12C73
triadic
#AC2CB1 #B1AC2C #2CB1AC
tetradic
#AC2CB1 #B1692C #31B12C #2C73B1
square
#AC2CB1 #B1692C #31B12C #2C73B1
split-complementary
#AC2CB1 #73B12C #2CB169
monochromatic
#4D144F #7C2080 #AC2CB1 #CC49D2 #DA7ADE

Accessibility & contrast

On white

5.60
#AC2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AC2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CB1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CB1#FFFFFF#000000##FFFFFF
##AC2CB11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#B1436D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2cb1;
/* rgb */ color: rgb(172, 44, 177);
/* oklch */ color: oklch(54.5% 0.218 326.4);
Tailwind
colors: {
  custom: {
    50: '#c973c9',
    500: '#ac2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cb1;
$custom-light: #c973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cb1",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 297.744,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.21784,
    "h": 326.4
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#AC2CB1
secondary
#76C673
accent
#E3444A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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