#AC309F#AC309F

#AC309F is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.8% C 0.200 H 332.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC309F
RGBrgb(172, 48, 159)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 72.1%, 7.6%, 32.5%)
CIE-LABlab(43.34, 61.67, -33.50)
CIE-LCHlch(43.34, 70.18, 331.49°)
OKLaboklab(53.8% 0.1775 -0.092)
OKLCHoklch(53.8% 0.2 332.6)
XYZxyz(24.3283, 13.3898, 34.0973)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309F #30AC3D
analogous
#7B30AC #AC309F #AC3061
triadic
#AC309F #9FAC30 #309FAC
tetradic
#AC309F #AC7B30 #30AC3D #3061AC
square
#AC309F #AC7B30 #30AC3D #3061AC
split-complementary
#AC309F #61AC30 #30AC7B
monochromatic
#4C1547 #7C2373 #AC309F #CD4CC0 #DA7CD1

Accessibility & contrast

On white

5.71
#AC309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC309F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309F#FFFFFF#000000##FFFFFF
##AC309F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#B43D64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac309f;
/* rgb */ color: rgb(172, 48, 159);
/* oklch */ color: oklch(53.8% 0.200 332.6);
Tailwind
colors: {
  custom: {
    50: '#c874bc',
    500: '#ac309f',
    950: '#000000',
  },
}
SCSS
$custom: #ac309f;
$custom-light: #c874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309f",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 306.29,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.19987,
    "h": 332.6
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#AC309F
secondary
#75C37D
accent
#E05848
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC309F

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

Preview Lab → · Contrast checker → · Palette generator →

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