#AC2796#AC2796

#AC2796 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.203 H 335.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC2796
RGBrgb(172, 39, 150)
HSLhsl(310, 63%, 41%)
HSVhsv(310, 77%, 67%)
CMYKcmyk(0%, 77.3%, 12.8%, 32.5%)
CIE-LABlab(41.89, 63.17, -30.37)
CIE-LCHlch(41.89, 70.09, 334.32°)
OKLaboklab(52.6% 0.1853 -0.0829)
OKLCHoklch(52.6% 0.203 335.9)
XYZxyz(23.2442, 12.4259, 30.0225)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2796 #27AC3D
analogous
#8027AC #AC2796 #AC2754
triadic
#AC2796 #96AC27 #2796AC
tetradic
#AC2796 #AC8027 #27AC3D #2754AC
square
#AC2796 #AC8027 #27AC3D #2754AC
split-complementary
#AC2796 #54AC27 #27AC80
monochromatic
#48103F #7A1C6A #AC2796 #D33DBA #DE6FCC

Accessibility & contrast

On white

6.03
#AC2796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC2796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2796
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2796#FFFFFF#000000##FFFFFF
##AC27961.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#B5325D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2796;
/* rgb */ color: rgb(172, 39, 150);
/* oklch */ color: oklch(52.6% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#c970b5',
    500: '#ac2796',
    950: '#000000',
  },
}
SCSS
$custom: #ac2796;
$custom-light: #c970b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2796",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 309.925,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.20298,
    "h": 335.9
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#AC2796
secondary
#6AC579
accent
#E65D42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2796

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

Preview Lab → · Contrast checker → · Palette generator →

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