#AC37C4#AC37C4

#AC37C4 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.222 H 320.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC37C4
RGBrgb(172, 55, 196)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 72%, 77%)
CMYKcmyk(12.2%, 71.9%, 0%, 23.1%)
CIE-LABlab(46.30, 65.52, -50.62)
CIE-LCHlch(46.30, 82.79, 322.31°)
OKLaboklab(56.58% 0.1703 -0.1418)
OKLCHoklch(56.58% 0.222 320.2)
XYZxyz(28.3420, 15.4900, 53.7108)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37C4 #4FC437
analogous
#6637C4 #AC37C4 #C43796
triadic
#AC37C4 #C4AC37 #37C4AC
tetradic
#AC37C4 #C46637 #4FC437 #3796C4
square
#AC37C4 #C46637 #4FC437 #3796C4
split-complementary
#AC37C4 #96C437 #37C466
monochromatic
#581C64 #822A94 #AC37C4 #C165D4 #D494E1

Accessibility & contrast

On white

5.12
#AC37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AC37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37C4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37C4#FFFFFF#000000##FFFFFF
##AC37C41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4472C1
Tritanopia (blue-blind)
#AD527A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac37c4;
/* rgb */ color: rgb(172, 55, 196);
/* oklch */ color: oklch(56.6% 0.222 320.2);
Tailwind
colors: {
  custom: {
    50: '#c979d6',
    500: '#ac37c4',
    950: '#000000',
  },
}
SCSS
$custom: #ac37c4;
$custom-light: #c979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37c4",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 289.787,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.22159,
    "h": 320.2
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#AC37C4
secondary
#96CC8B
accent
#DF4862
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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