#AC37D6#AC37D6

#AC37D6 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.237 H 315.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AC37D6
RGBrgb(172, 55, 214)
HSLhsl(284, 66%, 53%)
HSVhsv(284, 74%, 84%)
CMYKcmyk(19.6%, 74.3%, 0%, 16.1%)
CIE-LABlab(47.44, 68.91, -59.15)
CIE-LCHlch(47.44, 90.82, 319.36°)
OKLaboklab(57.76% 0.1684 -0.1668)
OKLCHoklch(57.76% 0.237 315.3)
XYZxyz(30.5151, 16.3592, 65.1555)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37D6 #61D637
analogous
#5C37D6 #AC37D6 #D637B0
triadic
#AC37D6 #D6AC37 #37D6AC
tetradic
#AC37D6 #D65C37 #61D637 #37B0D6
square
#AC37D6 #D65C37 #61D637 #37B0D6
split-complementary
#AC37D6 #B0D637 #37D65C
monochromatic
#60197A #8823AC #AC37D6 #C16AE0 #D69DEB

Accessibility & contrast

On white

4.92
#AC37D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AC37D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37D6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37D6#FFFFFF#000000##FFFFFF
##AC37D61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#3174D3
Tritanopia (blue-blind)
#A95A85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac37d6;
/* rgb */ color: rgb(172, 55, 214);
/* oklch */ color: oklch(57.8% 0.237 315.3);
Tailwind
colors: {
  custom: {
    50: '#c97ae3',
    500: '#ac37d6',
    950: '#000000',
  },
}
SCSS
$custom: #ac37d6;
$custom-light: #c97ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37d6",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 284.151,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.23705,
    "h": 315.3
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#AC37D6
secondary
#A4D792
accent
#E93F6C
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC37D6

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

Preview Lab → · Contrast checker → · Palette generator →

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