#AC37D2#AC37D2

#AC37D2 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.234 H 316.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC37D2
RGBrgb(172, 55, 210)
HSLhsl(285, 63%, 52%)
HSVhsv(285, 74%, 82%)
CMYKcmyk(18.1%, 73.8%, 0%, 17.6%)
CIE-LABlab(47.18, 68.14, -57.28)
CIE-LCHlch(47.18, 89.02, 319.95°)
OKLaboklab(57.49% 0.169 -0.1613)
OKLCHoklch(57.49% 0.234 316.3)
XYZxyz(30.0105, 16.1574, 62.4981)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37D2 #5DD237
analogous
#5F37D2 #AC37D2 #D237AB
triadic
#AC37D2 #D2AC37 #37D2AC
tetradic
#AC37D2 #D25F37 #5DD237 #37ABD2
square
#AC37D2 #D25F37 #5DD237 #37ABD2
split-complementary
#AC37D2 #ABD237 #37D25F
monochromatic
#5E1A74 #8725A6 #AC37D2 #C169DD #D59BE8

Accessibility & contrast

On white

4.96
#AC37D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AC37D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37D2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37D2#FFFFFF#000000##FFFFFF
##AC37D21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.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: #ac37d2;
/* rgb */ color: rgb(172, 55, 210);
/* oklch */ color: oklch(57.5% 0.234 316.3);
Tailwind
colors: {
  custom: {
    50: '#c979e1',
    500: '#ac37d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac37d2;
$custom-light: #c979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37d2",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 285.29,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.2336,
    "h": 316.3
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC37D2

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

Preview Lab → · Contrast checker → · Palette generator →

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