#AC37C6#AC37C6

#AC37C6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.223 H 319.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AC37C6
RGBrgb(172, 55, 198)
HSLhsl(289, 57%, 50%)
HSVhsv(289, 72%, 78%)
CMYKcmyk(13.1%, 72.2%, 0%, 22.4%)
CIE-LABlab(46.42, 65.88, -51.58)
CIE-LCHlch(46.42, 83.67, 321.94°)
OKLaboklab(56.71% 0.1702 -0.1446)
OKLCHoklch(56.71% 0.223 319.6)
XYZxyz(28.5712, 15.5817, 54.9177)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37C6 #51C637
analogous
#6537C6 #AC37C6 #C63799
triadic
#AC37C6 #C6AC37 #37C6AC
tetradic
#AC37C6 #C66537 #51C637 #3799C6
square
#AC37C6 #C66537 #51C637 #3799C6
split-complementary
#AC37C6 #99C637 #37C665
monochromatic
#591C66 #822A96 #AC37C6 #C066D4 #D496E2

Accessibility & contrast

On white

5.10
#AC37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AC37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37C6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37C6#FFFFFF#000000##FFFFFF
##AC37C61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#AC537C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac37c6;
/* rgb */ color: rgb(172, 55, 198);
/* oklch */ color: oklch(56.7% 0.223 319.6);
Tailwind
colors: {
  custom: {
    50: '#c979d8',
    500: '#ac37c6',
    950: '#000000',
  },
}
SCSS
$custom: #ac37c6;
$custom-light: #c979d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37c6",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 289.091,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.22329,
    "h": 319.6
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#AC37C6
secondary
#98CD8C
accent
#E04864
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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