#AC279D#AC279D

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

Color values

HEX#AC279D
RGBrgb(172, 39, 157)
HSLhsl(307, 63%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 77.3%, 8.7%, 32.5%)
CIE-LABlab(42.24, 64.21, -34.03)
CIE-LCHlch(42.24, 72.67, 332.08°)
OKLaboklab(52.97% 0.1857 -0.0934)
OKLCHoklch(52.97% 0.208 333.3)
XYZxyz(23.8248, 12.6581, 33.0802)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC279D #27AC36
analogous
#7927AC #AC279D #AC275B
triadic
#AC279D #9DAC27 #279DAC
tetradic
#AC279D #AC7927 #27AC36 #275BAC
square
#AC279D #AC7927 #27AC36 #275BAC
split-complementary
#AC279D #5BAC27 #27AC79
monochromatic
#481042 #7A1C6F #AC279D #D33DC2 #DE6FD2

Accessibility & contrast

On white

5.95
#AC279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC279D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC279D#FFFFFF#000000##FFFFFF
##AC279D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#566A9A
Tritanopia (blue-blind)
#B43661
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac279d;
/* rgb */ color: rgb(172, 39, 157);
/* oklch */ color: oklch(53.0% 0.208 333.3);
Tailwind
colors: {
  custom: {
    50: '#c971ba',
    500: '#ac279d',
    950: '#000000',
  },
}
SCSS
$custom: #ac279d;
$custom-light: #c971ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac279d",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 306.767,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.20787,
    "h": 333.3
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#AC279D
secondary
#6AC574
accent
#E65442
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC279D

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

Preview Lab → · Contrast checker → · Palette generator →

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