#AC2097#AC2097

#AC2097 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.210 H 335.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC2097
RGBrgb(172, 32, 151)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 81%, 67%)
CMYKcmyk(0%, 81.4%, 12.2%, 32.5%)
CIE-LABlab(41.28, 65.20, -31.93)
CIE-LCHlch(41.28, 72.60, 333.91°)
OKLaboklab(52.18% 0.191 -0.0873)
OKLCHoklch(52.18% 0.21 335.4)
XYZxyz(23.1160, 12.0402, 30.3787)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2097 #20AC35
analogous
#7B20AC #AC2097 #AC2051
triadic
#AC2097 #97AC20 #2097AC
tetradic
#AC2097 #AC7B20 #20AC35 #2051AC
square
#AC2097 #AC7B20 #20AC35 #2051AC
split-complementary
#AC2097 #51AC20 #20AC7B
monochromatic
#450D3C #78166A #AC2097 #D931BF #E264CF

Accessibility & contrast

On white

6.16
#AC2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2097
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2097#FFFFFF#000000##FFFFFF
##AC20971.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#B52D5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2097;
/* rgb */ color: rgb(172, 32, 151);
/* oklch */ color: oklch(52.2% 0.210 335.4);
Tailwind
colors: {
  custom: {
    50: '#c96eb6',
    500: '#ac2097',
    950: '#000000',
  },
}
SCSS
$custom: #ac2097;
$custom-light: #c96eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2097",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 309,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.20998,
    "h": 335.4
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#AC2097
secondary
#60C770
accent
#EB573C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2097

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

Preview Lab → · Contrast checker → · Palette generator →

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