#AC279C#AC279C

#AC279C is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.207 H 333.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC279C
RGBrgb(172, 39, 156)
HSLhsl(307, 63%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 77.3%, 9.3%, 32.5%)
CIE-LABlab(42.19, 64.06, -33.51)
CIE-LCHlch(42.19, 72.29, 332.38°)
OKLaboklab(52.92% 0.1856 -0.0919)
OKLCHoklch(52.92% 0.207 333.7)
XYZxyz(23.7397, 12.6241, 32.6324)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC279C #27AC37
analogous
#7A27AC #AC279C #AC275A
triadic
#AC279C #9CAC27 #279CAC
tetradic
#AC279C #AC7A27 #27AC37 #275AAC
square
#AC279C #AC7A27 #27AC37 #275AAC
split-complementary
#AC279C #5AAC27 #27AC7A
monochromatic
#481042 #7A1C6F #AC279C #D33DC1 #DE6FD1

Accessibility & contrast

On white

5.96
#AC279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC279C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC279C#FFFFFF#000000##FFFFFF
##AC279C1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B43560
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac279c;
/* rgb */ color: rgb(172, 39, 156);
/* oklch */ color: oklch(52.9% 0.207 333.7);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac279c',
    950: '#000000',
  },
}
SCSS
$custom: #ac279c;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac279c",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 307.218,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.20716,
    "h": 333.7
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#AC279C
secondary
#6AC575
accent
#E65542
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC279C

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

Preview Lab → · Contrast checker → · Palette generator →

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