#AC28B3#AC28B3

#AC28B3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.223 H 325.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC28B3
RGBrgb(172, 40, 179)
HSLhsl(297, 63%, 43%)
HSVhsv(297, 78%, 70%)
CMYKcmyk(3.9%, 77.7%, 0%, 29.8%)
CIE-LABlab(43.57, 67.41, -45.03)
CIE-LCHlch(43.57, 81.07, 326.26°)
OKLaboklab(54.31% 0.1847 -0.1254)
OKLCHoklch(54.31% 0.223 325.8)
XYZxyz(25.9082, 13.5447, 43.8889)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28B3 #2FB328
analogous
#6628B3 #AC28B3 #B32875
triadic
#AC28B3 #B3AC28 #28B3AC
tetradic
#AC28B3 #B36628 #2FB328 #2875B3
square
#AC28B3 #B36628 #2FB328 #2875B3
split-complementary
#AC28B3 #75B328 #28B366
monochromatic
#4C124F #7C1D81 #AC28B3 #CE43D5 #DB75E0

Accessibility & contrast

On white

5.66
#AC28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28B3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28B3#FFFFFF#000000##FFFFFF
##AC28B31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#B0426D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac28b3;
/* rgb */ color: rgb(172, 40, 179);
/* oklch */ color: oklch(54.3% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#c972ca',
    500: '#ac28b3',
    950: '#000000',
  },
}
SCSS
$custom: #ac28b3;
$custom-light: #c972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28b3",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 296.978,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.2232,
    "h": 325.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#AC28B3
secondary
#74C86F
accent
#E6414A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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