#AC37D3#AC37D3

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

Color values

HEX#AC37D3
RGBrgb(172, 55, 211)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 74%, 83%)
CMYKcmyk(18.5%, 73.9%, 0%, 17.3%)
CIE-LABlab(47.25, 68.33, -57.75)
CIE-LCHlch(47.25, 89.47, 319.80°)
OKLaboklab(57.56% 0.1688 -0.1627)
OKLCHoklch(57.56% 0.234 316.1)
XYZxyz(30.1355, 16.2074, 63.1563)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37D3 #5ED337
analogous
#5E37D3 #AC37D3 #D337AC
triadic
#AC37D3 #D3AC37 #37D3AC
tetradic
#AC37D3 #D35E37 #5ED337 #37ACD3
square
#AC37D3 #D35E37 #5ED337 #37ACD3
split-complementary
#AC37D3 #ACD337 #37D35E
monochromatic
#5F1A76 #8725A8 #AC37D3 #C169DE #D69BE9

Accessibility & contrast

On white

4.95
#AC37D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AC37D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37D3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37D3#FFFFFF#000000##FFFFFF
##AC37D31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#3573D0
Tritanopia (blue-blind)
#A95983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac37d3;
/* rgb */ color: rgb(172, 55, 211);
/* oklch */ color: oklch(57.6% 0.234 316.1);
Tailwind
colors: {
  custom: {
    50: '#c979e1',
    500: '#ac37d3',
    950: '#000000',
  },
}
SCSS
$custom: #ac37d3;
$custom-light: #c979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37d3",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 285,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.23446,
    "h": 316.1
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#AC37D3
secondary
#A2D591
accent
#E7416A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC37D3

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

Preview Lab → · Contrast checker → · Palette generator →

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