#AC309B#AC309B

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

Color values

HEX#AC309B
RGBrgb(172, 48, 155)
HSLhsl(308, 56%, 43%)
HSVhsv(308, 72%, 67%)
CMYKcmyk(0%, 72.1%, 9.9%, 32.5%)
CIE-LABlab(43.14, 61.05, -31.41)
CIE-LCHlch(43.14, 68.66, 332.77°)
OKLaboklab(53.58% 0.1772 -0.086)
OKLCHoklch(53.58% 0.197 334.1)
XYZxyz(23.9868, 13.2532, 32.2988)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC309B #30AC41
analogous
#7F30AC #AC309B #AC305D
triadic
#AC309B #9BAC30 #309BAC
tetradic
#AC309B #AC7F30 #30AC41 #305DAC
square
#AC309B #AC7F30 #30AC41 #305DAC
split-complementary
#AC309B #5DAC30 #30AC7F
monochromatic
#4C1545 #7C2370 #AC309B #CD4CBB #DA7CCD

Accessibility & contrast

On white

5.75
#AC309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC309B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC309B#FFFFFF#000000##FFFFFF
##AC309B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac309b;
/* rgb */ color: rgb(172, 48, 155);
/* oklch */ color: oklch(53.6% 0.197 334.1);
Tailwind
colors: {
  custom: {
    50: '#c874b9',
    500: '#ac309b',
    950: '#000000',
  },
}
SCSS
$custom: #ac309b;
$custom-light: #c874b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac309b",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 308.226,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.19693,
    "h": 334.1
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC309B

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

Preview Lab → · Contrast checker → · Palette generator →

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