#AC28B4#AC28B4

#AC28B4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 325.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC28B4
RGBrgb(172, 40, 180)
HSLhsl(297, 64%, 43%)
HSVhsv(297, 78%, 71%)
CMYKcmyk(4.4%, 77.8%, 0%, 29.4%)
CIE-LABlab(43.63, 67.58, -45.52)
CIE-LCHlch(43.63, 81.48, 326.04°)
OKLaboklab(54.38% 0.1846 -0.1268)
OKLCHoklch(54.38% 0.224 325.5)
XYZxyz(26.0097, 13.5853, 44.4234)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28B4 #30B428
analogous
#6628B4 #AC28B4 #B42876
triadic
#AC28B4 #B4AC28 #28B4AC
tetradic
#AC28B4 #B46628 #30B428 #2876B4
square
#AC28B4 #B46628 #30B428 #2876B4
split-complementary
#AC28B4 #76B428 #28B466
monochromatic
#4C1250 #7C1D82 #AC28B4 #CD44D5 #DA76E1

Accessibility & contrast

On white

5.65
#AC28B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC28B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28B4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28B4#FFFFFF#000000##FFFFFF
##AC28B41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#B0426E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac28b4;
/* rgb */ color: rgb(172, 40, 180);
/* oklch */ color: oklch(54.4% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#c972cb',
    500: '#ac28b4',
    950: '#000000',
  },
}
SCSS
$custom: #ac28b4;
$custom-light: #c972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28b4",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 296.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.22396,
    "h": 325.5
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#AC28B4
secondary
#75C870
accent
#E7414B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28B4

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

Preview Lab → · Contrast checker → · Palette generator →

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