#AC209E#AC209E

#AC209E is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.215 H 332.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC209E
RGBrgb(172, 32, 158)
HSLhsl(306, 69%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 81.4%, 8.1%, 32.5%)
CIE-LABlab(41.65, 66.23, -35.57)
CIE-LCHlch(41.65, 75.18, 331.76°)
OKLaboklab(52.56% 0.1912 -0.0978)
OKLCHoklch(52.56% 0.215 332.9)
XYZxyz(23.7015, 12.2744, 33.4620)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC209E #20AC2E
analogous
#7420AC #AC209E #AC2058
triadic
#AC209E #9EAC20 #209EAC
tetradic
#AC209E #AC7420 #20AC2E #2058AC
square
#AC209E #AC7420 #20AC2E #2058AC
split-complementary
#AC209E #58AC20 #20AC74
monochromatic
#450D3F #78166F #AC209E #D931C8 #E264D6

Accessibility & contrast

On white

6.08
#AC209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC209E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC209E#FFFFFF#000000##FFFFFF
##AC209E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#B43260
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac209e;
/* rgb */ color: rgb(172, 32, 158);
/* oklch */ color: oklch(52.6% 0.215 332.9);
Tailwind
colors: {
  custom: {
    50: '#c96ebb',
    500: '#ac209e',
    950: '#000000',
  },
}
SCSS
$custom: #ac209e;
$custom-light: #c96ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac209e",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 306,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.21477,
    "h": 332.9
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#AC209E
secondary
#60C76B
accent
#EB4E3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC209E

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

Preview Lab → · Contrast checker → · Palette generator →

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