#AC37AC#AC37AC

#AC37AC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.202 H 327.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AC37AC
RGBrgb(172, 55, 172)
HSLhsl(300, 52%, 45%)
HSVhsv(300, 68%, 67%)
CMYKcmyk(0%, 68%, 0%, 32.5%)
CIE-LABlab(44.92, 61.27, -38.75)
CIE-LCHlch(44.92, 72.49, 327.69°)
OKLaboklab(55.15% 0.1708 -0.1072)
OKLCHoklch(55.15% 0.202 327.9)
XYZxyz(25.8255, 14.4834, 40.4571)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37AC #37AC37
analogous
#7237AC #AC37AC #AC3772
triadic
#AC37AC #ACAC37 #37ACAC
tetradic
#AC37AC #AC7237 #37AC37 #3772AC
square
#AC37AC #AC7237 #37AC37 #3772AC
split-complementary
#AC37AC #72AC37 #37AC72
monochromatic
#4F194F #7E287E #AC37AC #C957C9 #D885D8

Accessibility & contrast

On white

5.39
#AC37AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AC37AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37AC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37AC#FFFFFF#000000##FFFFFF
##AC37AC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B1486D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac37ac;
/* rgb */ color: rgb(172, 55, 172);
/* oklch */ color: oklch(55.1% 0.202 327.9);
Tailwind
colors: {
  custom: {
    50: '#c878c5',
    500: '#ac37ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac37ac;
$custom-light: #c878c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37ac",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.20168,
    "h": 327.9
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#AC37AC
secondary
#7DC27D
accent
#DB4D4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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