#AC2799#AC2799

#AC2799 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.205 H 334.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AC2799
RGBrgb(172, 39, 153)
HSLhsl(309, 63%, 41%)
HSVhsv(309, 77%, 67%)
CMYKcmyk(0%, 77.3%, 11%, 32.5%)
CIE-LABlab(42.04, 63.61, -31.95)
CIE-LCHlch(42.04, 71.18, 333.33°)
OKLaboklab(52.76% 0.1855 -0.0874)
OKLCHoklch(52.76% 0.205 334.8)
XYZxyz(23.4888, 12.5237, 31.3111)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2799 #27AC3A
analogous
#7D27AC #AC2799 #AC2757
triadic
#AC2799 #99AC27 #2799AC
tetradic
#AC2799 #AC7D27 #27AC3A #2757AC
square
#AC2799 #AC7D27 #27AC3A #2757AC
split-complementary
#AC2799 #57AC27 #27AC7D
monochromatic
#481040 #7A1C6D #AC2799 #D33DBE #DE6FCE

Accessibility & contrast

On white

5.99
#AC2799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC2799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2799
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2799#FFFFFF#000000##FFFFFF
##AC27991.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#B5335E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2799;
/* rgb */ color: rgb(172, 39, 153);
/* oklch */ color: oklch(52.8% 0.205 334.8);
Tailwind
colors: {
  custom: {
    50: '#c970b7',
    500: '#ac2799',
    950: '#000000',
  },
}
SCSS
$custom: #ac2799;
$custom-light: #c970b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2799",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 308.571,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.20506,
    "h": 334.8
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#AC2799
secondary
#6AC577
accent
#E65942
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2799

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

Preview Lab → · Contrast checker → · Palette generator →

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