#AC309A#AC309A

#AC309A is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.196 H 334.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC309A
RGBrgb(172, 48, 154)
HSLhsl(309, 56%, 43%)
HSVhsv(309, 72%, 67%)
CMYKcmyk(0%, 72.1%, 10.5%, 32.5%)
CIE-LABlab(43.09, 60.90, -30.89)
CIE-LCHlch(43.09, 68.28, 333.10°)
OKLaboklab(53.53% 0.1771 -0.0845)
OKLCHoklch(53.53% 0.196 334.5)
XYZxyz(23.9032, 13.2197, 31.8583)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309A #30AC42
analogous
#8030AC #AC309A #AC305C
triadic
#AC309A #9AAC30 #309AAC
tetradic
#AC309A #AC8030 #30AC42 #305CAC
square
#AC309A #AC8030 #30AC42 #305CAC
split-complementary
#AC309A #5CAC30 #30AC80
monochromatic
#4C1544 #7C236F #AC309A #CD4CBA #DA7CCD

Accessibility & contrast

On white

5.76
#AC309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC309A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309A#FFFFFF#000000##FFFFFF
##AC309A1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#B43A61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac309a;
/* rgb */ color: rgb(172, 48, 154);
/* oklch */ color: oklch(53.5% 0.196 334.5);
Tailwind
colors: {
  custom: {
    50: '#c874b8',
    500: '#ac309a',
    950: '#000000',
  },
}
SCSS
$custom: #ac309a;
$custom-light: #c874b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309a",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 308.71,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.1962,
    "h": 334.5
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#AC309A
secondary
#75C380
accent
#E05E48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC309A

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

Preview Lab → · Contrast checker → · Palette generator →

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