#AC37B1#AC37B1

#AC37B1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.206 H 326.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AC37B1
RGBrgb(172, 55, 177)
HSLhsl(298, 53%, 45%)
HSVhsv(298, 69%, 69%)
CMYKcmyk(2.8%, 68.9%, 0%, 30.6%)
CIE-LABlab(45.19, 62.12, -41.27)
CIE-LCHlch(45.19, 74.58, 326.40°)
OKLaboklab(55.43% 0.1709 -0.1145)
OKLCHoklch(55.43% 0.206 326.2)
XYZxyz(26.3147, 14.6791, 43.0338)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37B1 #3CB137
analogous
#6F37B1 #AC37B1 #B13779
triadic
#AC37B1 #B1AC37 #37B1AC
tetradic
#AC37B1 #B16F37 #3CB137 #3779B1
square
#AC37B1 #B16F37 #3CB137 #3779B1
split-complementary
#AC37B1 #79B137 #37B16F
monochromatic
#511A54 #7F2882 #AC37B1 #C75ACC #D788DA

Accessibility & contrast

On white

5.34
#AC37B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AC37B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37B1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37B1#FFFFFF#000000##FFFFFF
##AC37B11.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#B04A70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac37b1;
/* rgb */ color: rgb(172, 55, 177);
/* oklch */ color: oklch(55.4% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#c878c9',
    500: '#ac37b1',
    950: '#000000',
  },
}
SCSS
$custom: #ac37b1;
$custom-light: #c878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37b1",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 297.541,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.20574,
    "h": 326.2
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#AC37B1
secondary
#82C480
accent
#DC4C52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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