#AC279E#AC279E

#AC279E is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 332.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC279E
RGBrgb(172, 39, 158)
HSLhsl(306, 63%, 41%)
HSVhsv(306, 77%, 67%)
CMYKcmyk(0%, 77.3%, 8.1%, 32.5%)
CIE-LABlab(42.30, 64.36, -34.55)
CIE-LCHlch(42.30, 73.05, 331.77°)
OKLaboklab(53.03% 0.1857 -0.0949)
OKLCHoklch(53.03% 0.209 332.9)
XYZxyz(23.9105, 12.6924, 33.5317)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC279E #27AC35
analogous
#7827AC #AC279E #AC275C
triadic
#AC279E #9EAC27 #279EAC
tetradic
#AC279E #AC7827 #27AC35 #275CAC
square
#AC279E #AC7827 #27AC35 #275CAC
split-complementary
#AC279E #5CAC27 #27AC78
monochromatic
#481042 #7A1C70 #AC279E #D33DC3 #DE6FD3

Accessibility & contrast

On white

5.94
#AC279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC279E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC279E#FFFFFF#000000##FFFFFF
##AC279E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#556A9B
Tritanopia (blue-blind)
#B43661
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac279e;
/* rgb */ color: rgb(172, 39, 158);
/* oklch */ color: oklch(53.0% 0.209 332.9);
Tailwind
colors: {
  custom: {
    50: '#c971bb',
    500: '#ac279e',
    950: '#000000',
  },
}
SCSS
$custom: #ac279e;
$custom-light: #c971bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac279e",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 306.316,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.20858,
    "h": 332.9
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#AC279E
secondary
#6AC573
accent
#E65342
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC279E

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

Preview Lab → · Contrast checker → · Palette generator →

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