#AC309D#AC309D

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

Color values

HEX#AC309D
RGBrgb(172, 48, 157)
HSLhsl(307, 56%, 43%)
HSVhsv(307, 72%, 67%)
CMYKcmyk(0%, 72.1%, 8.7%, 32.5%)
CIE-LABlab(43.24, 61.36, -32.46)
CIE-LCHlch(43.24, 69.41, 332.12°)
OKLaboklab(53.69% 0.1773 -0.089)
OKLCHoklch(53.69% 0.198 333.4)
XYZxyz(24.1562, 13.3209, 33.1907)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309D #30AC3F
analogous
#7D30AC #AC309D #AC305F
triadic
#AC309D #9DAC30 #309DAC
tetradic
#AC309D #AC7D30 #30AC3F #305FAC
square
#AC309D #AC7D30 #30AC3F #305FAC
split-complementary
#AC309D #5FAC30 #30AC7D
monochromatic
#4C1546 #7C2371 #AC309D #CD4CBD #DA7CCF

Accessibility & contrast

On white

5.73
#AC309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC309D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309D#FFFFFF#000000##FFFFFF
##AC309D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#B43C63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac309d;
/* rgb */ color: rgb(172, 48, 157);
/* oklch */ color: oklch(53.7% 0.198 333.4);
Tailwind
colors: {
  custom: {
    50: '#c874ba',
    500: '#ac309d',
    950: '#000000',
  },
}
SCSS
$custom: #ac309d;
$custom-light: #c874ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309d",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 307.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.19839,
    "h": 333.4
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#AC309D
secondary
#75C37E
accent
#E05A48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC309D

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

Preview Lab → · Contrast checker → · Palette generator →

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