#AC36D2#AC36D2

#AC36D2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.235 H 316.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC36D2
RGBrgb(172, 54, 210)
HSLhsl(285, 63%, 52%)
HSVhsv(285, 74%, 82%)
CMYKcmyk(18.1%, 74.3%, 0%, 17.6%)
CIE-LABlab(47.06, 68.49, -57.48)
CIE-LCHlch(47.06, 89.42, 320.00°)
OKLaboklab(57.4% 0.1699 -0.1619)
OKLCHoklch(57.4% 0.235 316.4)
XYZxyz(29.9635, 16.0634, 62.4825)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC36D2 #5CD236
analogous
#5E36D2 #AC36D2 #D236AA
triadic
#AC36D2 #D2AC36 #36D2AC
tetradic
#AC36D2 #D25E36 #5CD236 #36AAD2
square
#AC36D2 #D25E36 #5CD236 #36AAD2
split-complementary
#AC36D2 #AAD236 #36D25E
monochromatic
#5E1A74 #8625A6 #AC36D2 #C168DD #D59AE8

Accessibility & contrast

On white

4.99
#AC36D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AC36D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC36D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC36D2#FFFFFF#000000##FFFFFF
##AC36D21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#AA5882
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac36d2;
/* rgb */ color: rgb(172, 54, 210);
/* oklch */ color: oklch(57.4% 0.235 316.4);
Tailwind
colors: {
  custom: {
    50: '#c979e1',
    500: '#ac36d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac36d2;
$custom-light: #c979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac36d2",
  "rgb": {
    "r": 172,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 285.385,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.23464,
    "h": 316.4
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#AC36D2
secondary
#A0D490
accent
#E6416A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC36D2

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

Preview Lab → · Contrast checker → · Palette generator →

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