#AC37C7#AC37C7

#AC37C7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.224 H 319.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC37C7
RGBrgb(172, 55, 199)
HSLhsl(289, 57%, 50%)
HSVhsv(289, 72%, 78%)
CMYKcmyk(13.6%, 72.4%, 0%, 22%)
CIE-LABlab(46.48, 66.07, -52.06)
CIE-LCHlch(46.48, 84.12, 321.76°)
OKLaboklab(56.77% 0.1701 -0.146)
OKLCHoklch(56.77% 0.224 319.4)
XYZxyz(28.6869, 15.6280, 55.5272)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37C7 #52C737
analogous
#6437C7 #AC37C7 #C7379A
triadic
#AC37C7 #C7AC37 #37C7AC
tetradic
#AC37C7 #C76437 #52C737 #379AC7
square
#AC37C7 #C76437 #52C737 #379AC7
split-complementary
#AC37C7 #9AC737 #37C764
monochromatic
#591C67 #832A97 #AC37C7 #C066D5 #D496E2

Accessibility & contrast

On white

5.09
#AC37C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AC37C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37C7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37C7#FFFFFF#000000##FFFFFF
##AC37C71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#AC537C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac37c7;
/* rgb */ color: rgb(172, 55, 199);
/* oklch */ color: oklch(56.8% 0.224 319.4);
Tailwind
colors: {
  custom: {
    50: '#c979d9',
    500: '#ac37c7',
    950: '#000000',
  },
}
SCSS
$custom: #ac37c7;
$custom-light: #c979d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37c7",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 288.75,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.22415,
    "h": 319.4
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#AC37C7
secondary
#99CD8C
accent
#E04864
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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