#AC36C2#AC36C2

#AC36C2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.221 H 320.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC36C2
RGBrgb(172, 54, 194)
HSLhsl(291, 56%, 49%)
HSVhsv(291, 72%, 76%)
CMYKcmyk(11.3%, 72.2%, 0%, 23.9%)
CIE-LABlab(46.05, 65.51, -49.85)
CIE-LCHlch(46.05, 82.32, 322.73°)
OKLaboklab(56.37% 0.1714 -0.1395)
OKLCHoklch(56.37% 0.221 320.9)
XYZxyz(28.0689, 15.3055, 52.5043)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC36C2 #4CC236
analogous
#6636C2 #AC36C2 #C23692
triadic
#AC36C2 #C2AC36 #36C2AC
tetradic
#AC36C2 #C26636 #4CC236 #3692C2
square
#AC36C2 #C26636 #4CC236 #3692C2
split-complementary
#AC36C2 #92C236 #36C266
monochromatic
#571B62 #822992 #AC36C2 #C162D3 #D492E1

Accessibility & contrast

On white

5.17
#AC36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AC36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC36C2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC36C2#FFFFFF#000000##FFFFFF
##AC36C21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#AD5179
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac36c2;
/* rgb */ color: rgb(172, 54, 194);
/* oklch */ color: oklch(56.4% 0.221 320.9);
Tailwind
colors: {
  custom: {
    50: '#c978d5',
    500: '#ac36c2',
    950: '#000000',
  },
}
SCSS
$custom: #ac36c2;
$custom-light: #c978d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac36c2",
  "rgb": {
    "r": 172,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 290.571,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.22102,
    "h": 320.9
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#AC36C2
secondary
#93CC88
accent
#E04860
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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