#AC2BB8#AC2BB8

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

Color values

HEX#AC2BB8
RGBrgb(172, 43, 184)
HSLhsl(295, 62%, 45%)
HSVhsv(295, 77%, 72%)
CMYKcmyk(6.5%, 76.6%, 0%, 27.8%)
CIE-LABlab(44.18, 67.38, -47.01)
CIE-LCHlch(44.18, 82.15, 325.10°)
OKLaboklab(54.84% 0.1819 -0.1311)
OKLCHoklch(54.84% 0.224 324.2)
XYZxyz(26.5281, 13.9608, 46.6355)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BB8 #37B82B
analogous
#662BB8 #AC2BB8 #B82B7D
triadic
#AC2BB8 #B8AC2B #2BB8AC
tetradic
#AC2BB8 #B8662B #37B82B #2B7DB8
square
#AC2BB8 #B8662B #37B82B #2B7DB8
split-complementary
#AC2BB8 #7DB82B #2BB866
monochromatic
#4F1455 #7E1F86 #AC2BB8 #C94BD5 #D87DE1

Accessibility & contrast

On white

5.54
#AC2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BB8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BB8#FFFFFF#000000##FFFFFF
##AC2BB81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2bb8;
/* rgb */ color: rgb(172, 43, 184);
/* oklch */ color: oklch(54.8% 0.224 324.2);
Tailwind
colors: {
  custom: {
    50: '#c973ce',
    500: '#ac2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2bb8;
$custom-light: #c973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2bb8",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 294.894,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.22427,
    "h": 324.2
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#AC2BB8
secondary
#7DC976
accent
#E54350
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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