#AC28B1#AC28B1

#AC28B1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.222 H 326.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AC28B1
RGBrgb(172, 40, 177)
HSLhsl(298, 63%, 43%)
HSVhsv(298, 77%, 69%)
CMYKcmyk(2.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(43.45, 67.08, -44.03)
CIE-LCHlch(43.45, 80.24, 326.72°)
OKLaboklab(54.19% 0.1848 -0.1225)
OKLCHoklch(54.19% 0.222 326.5)
XYZxyz(25.7074, 13.4644, 42.8313)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28B1 #2DB128
analogous
#6728B1 #AC28B1 #B12872
triadic
#AC28B1 #B1AC28 #28B1AC
tetradic
#AC28B1 #B16728 #2DB128 #2872B1
square
#AC28B1 #B16728 #2DB128 #2872B1
split-complementary
#AC28B1 #72B128 #28B167
monochromatic
#4B114D #7B1D7F #AC28B1 #CF42D4 #DC74E0

Accessibility & contrast

On white

5.69
#AC28B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC28B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28B1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28B1#FFFFFF#000000##FFFFFF
##AC28B11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4B6CAE
Tritanopia (blue-blind)
#B1416C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac28b1;
/* rgb */ color: rgb(172, 40, 177);
/* oklch */ color: oklch(54.2% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#c972c9',
    500: '#ac28b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac28b1;
$custom-light: #c972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28b1",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 297.81,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.22167,
    "h": 326.5
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#AC28B1
secondary
#71C76E
accent
#E64248
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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