#AC309C#AC309C

#AC309C is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.198 H 333.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AC309C
RGBrgb(172, 48, 156)
HSLhsl(308, 56%, 43%)
HSVhsv(308, 72%, 67%)
CMYKcmyk(0%, 72.1%, 9.3%, 32.5%)
CIE-LABlab(43.19, 61.20, -31.94)
CIE-LCHlch(43.19, 69.03, 332.44°)
OKLaboklab(53.64% 0.1773 -0.0875)
OKLCHoklch(53.64% 0.198 333.7)
XYZxyz(24.0711, 13.2869, 32.7429)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309C #30AC40
analogous
#7E30AC #AC309C #AC305E
triadic
#AC309C #9CAC30 #309CAC
tetradic
#AC309C #AC7E30 #30AC40 #305EAC
square
#AC309C #AC7E30 #30AC40 #305EAC
split-complementary
#AC309C #5EAC30 #30AC7E
monochromatic
#4C1545 #7C2371 #AC309C #CD4CBC #DA7CCE

Accessibility & contrast

On white

5.74
#AC309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC309C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309C#FFFFFF#000000##FFFFFF
##AC309C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#5A6C99
Tritanopia (blue-blind)
#B43B62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac309c;
/* rgb */ color: rgb(172, 48, 156);
/* oklch */ color: oklch(53.6% 0.198 333.7);
Tailwind
colors: {
  custom: {
    50: '#c874b9',
    500: '#ac309c',
    950: '#000000',
  },
}
SCSS
$custom: #ac309c;
$custom-light: #c874b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309c",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 307.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.19766,
    "h": 333.7
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#AC309C
secondary
#75C37F
accent
#E05C48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC309C

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

Preview Lab → · Contrast checker → · Palette generator →

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