#AC2797#AC2797

#AC2797 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.204 H 335.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC2797
RGBrgb(172, 39, 151)
HSLhsl(309, 63%, 41%)
HSVhsv(309, 77%, 67%)
CMYKcmyk(0%, 77.3%, 12.2%, 32.5%)
CIE-LABlab(41.94, 63.32, -30.90)
CIE-LCHlch(41.94, 70.45, 333.99°)
OKLaboklab(52.65% 0.1853 -0.0844)
OKLCHoklch(52.65% 0.204 335.5)
XYZxyz(23.3250, 12.4582, 30.4484)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2797 #27AC3C
analogous
#7F27AC #AC2797 #AC2755
triadic
#AC2797 #97AC27 #2797AC
tetradic
#AC2797 #AC7F27 #27AC3C #2755AC
square
#AC2797 #AC7F27 #27AC3C #2755AC
split-complementary
#AC2797 #55AC27 #27AC7F
monochromatic
#48103F #7A1C6B #AC2797 #D33DBB #DE6FCD

Accessibility & contrast

On white

6.02
#AC2797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2797
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2797#FFFFFF#000000##FFFFFF
##AC27971.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#B5325D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2797;
/* rgb */ color: rgb(172, 39, 151);
/* oklch */ color: oklch(52.6% 0.204 335.5);
Tailwind
colors: {
  custom: {
    50: '#c970b6',
    500: '#ac2797',
    950: '#000000',
  },
}
SCSS
$custom: #ac2797;
$custom-light: #c970b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2797",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 309.474,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.20366,
    "h": 335.5
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#AC2797
secondary
#6AC578
accent
#E65C42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2797

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

Preview Lab → · Contrast checker → · Palette generator →

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