#AC2CB8#AC2CB8

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

Color values

HEX#AC2CB8
RGBrgb(172, 44, 184)
HSLhsl(295, 61%, 45%)
HSVhsv(295, 76%, 72%)
CMYKcmyk(6.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(44.28, 67.07, -46.84)
CIE-LCHlch(44.28, 81.81, 325.07°)
OKLaboklab(54.91% 0.1811 -0.1307)
OKLCHoklch(54.91% 0.223 324.2)
XYZxyz(26.5649, 14.0344, 46.6478)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CB8 #38B82C
analogous
#662CB8 #AC2CB8 #B82C7E
triadic
#AC2CB8 #B8AC2C #2CB8AC
tetradic
#AC2CB8 #B8662C #38B82C #2C7EB8
square
#AC2CB8 #B8662C #38B82C #2C7EB8
split-complementary
#AC2CB8 #7EB82C #2CB866
monochromatic
#501455 #7E2087 #AC2CB8 #C94DD4 #D87EE0

Accessibility & contrast

On white

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

On black

3.81
#AC2CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC2CB8#FFFFFF#000000##FFFFFF
##AC2CB81.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#AF4671
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2cb8;
/* rgb */ color: rgb(172, 44, 184);
/* oklch */ color: oklch(54.9% 0.223 324.2);
Tailwind
colors: {
  custom: {
    50: '#c974ce',
    500: '#ac2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cb8;
$custom-light: #c974ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cb8",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 294.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.22331,
    "h": 324.2
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#AC2CB8
secondary
#7EC977
accent
#E54351
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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