#AC37C2#AC37C2

#AC37C2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.220 H 320.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AC37C2
RGBrgb(172, 55, 194)
HSLhsl(291, 56%, 49%)
HSVhsv(291, 72%, 76%)
CMYKcmyk(11.3%, 71.6%, 0%, 23.9%)
CIE-LABlab(46.18, 65.15, -49.65)
CIE-LCHlch(46.18, 81.91, 322.69°)
OKLaboklab(56.46% 0.1704 -0.139)
OKLCHoklch(56.46% 0.22 320.8)
XYZxyz(28.1159, 15.3996, 52.5199)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37C2 #4DC237
analogous
#6737C2 #AC37C2 #C23793
triadic
#AC37C2 #C2AC37 #37C2AC
tetradic
#AC37C2 #C26737 #4DC237 #3793C2
square
#AC37C2 #C26737 #4DC237 #3793C2
split-complementary
#AC37C2 #93C237 #37C267
monochromatic
#571C63 #822992 #AC37C2 #C163D3 #D493E0

Accessibility & contrast

On white

5.15
#AC37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AC37C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37C2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37C2#FFFFFF#000000##FFFFFF
##AC37C21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4672BF
Tritanopia (blue-blind)
#AD5179
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac37c2;
/* rgb */ color: rgb(172, 55, 194);
/* oklch */ color: oklch(56.5% 0.220 320.8);
Tailwind
colors: {
  custom: {
    50: '#c979d5',
    500: '#ac37c2',
    950: '#000000',
  },
}
SCSS
$custom: #ac37c2;
$custom-light: #c979d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37c2",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 290.504,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.21991,
    "h": 320.8
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#AC37C2
secondary
#94CB89
accent
#DF4960
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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