#AC309E#AC309E

#AC309E is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.199 H 333.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AC309E
RGBrgb(172, 48, 158)
HSLhsl(307, 56%, 43%)
HSVhsv(307, 72%, 67%)
CMYKcmyk(0%, 72.1%, 8.1%, 32.5%)
CIE-LABlab(43.29, 61.51, -32.98)
CIE-LCHlch(43.29, 69.79, 331.80°)
OKLaboklab(53.74% 0.1774 -0.0905)
OKLCHoklch(53.74% 0.199 333)
XYZxyz(24.2419, 13.3552, 33.6422)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309E #30AC3E
analogous
#7C30AC #AC309E #AC3060
triadic
#AC309E #9EAC30 #309EAC
tetradic
#AC309E #AC7C30 #30AC3E #3060AC
square
#AC309E #AC7C30 #30AC3E #3060AC
split-complementary
#AC309E #60AC30 #30AC7C
monochromatic
#4C1546 #7C2372 #AC309E #CD4CBF #DA7CD0

Accessibility & contrast

On white

5.72
#AC309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC309E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309E#FFFFFF#000000##FFFFFF
##AC309E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#B43C64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac309e;
/* rgb */ color: rgb(172, 48, 158);
/* oklch */ color: oklch(53.7% 0.199 333.0);
Tailwind
colors: {
  custom: {
    50: '#c874bb',
    500: '#ac309e',
    950: '#000000',
  },
}
SCSS
$custom: #ac309e;
$custom-light: #c874bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309e",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 306.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.19913,
    "h": 333
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#AC309E
secondary
#75C37E
accent
#E05948
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC309E

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

Preview Lab → · Contrast checker → · Palette generator →

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