#AC28B0#AC28B0

#AC28B0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 326.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC28B0
RGBrgb(172, 40, 176)
HSLhsl(298, 63%, 42%)
HSVhsv(298, 77%, 69%)
CMYKcmyk(2.3%, 77.3%, 0%, 31%)
CIE-LABlab(43.40, 66.92, -43.54)
CIE-LCHlch(43.40, 79.83, 326.95°)
OKLaboklab(54.13% 0.1848 -0.121)
OKLCHoklch(54.13% 0.221 326.8)
XYZxyz(25.6081, 13.4246, 42.3083)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28B0 #2CB028
analogous
#6828B0 #AC28B0 #B02870
triadic
#AC28B0 #B0AC28 #28B0AC
tetradic
#AC28B0 #B06828 #2CB028 #2870B0
square
#AC28B0 #B06828 #2CB028 #2870B0
split-complementary
#AC28B0 #70B028 #28B068
monochromatic
#4B114C #7B1D7E #AC28B0 #D041D4 #DC73DF

Accessibility & contrast

On white

5.70
#AC28B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC28B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28B0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28B0#FFFFFF#000000##FFFFFF
##AC28B01.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#B1406C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28b0;
/* rgb */ color: rgb(172, 40, 176);
/* oklch */ color: oklch(54.1% 0.221 326.8);
Tailwind
colors: {
  custom: {
    50: '#c972c8',
    500: '#ac28b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac28b0;
$custom-light: #c972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28b0",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 298.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.22091,
    "h": 326.8
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#AC28B0
secondary
#70C66D
accent
#E64247
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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