#AC37A5#AC37A5

#AC37A5 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.8% C 0.196 H 330.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AC37A5
RGBrgb(172, 55, 165)
HSLhsl(304, 52%, 45%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 68%, 4.1%, 32.5%)
CIE-LABlab(44.55, 60.10, -35.18)
CIE-LCHlch(44.55, 69.64, 329.66°)
OKLaboklab(54.76% 0.1705 -0.0969)
OKLCHoklch(54.76% 0.196 330.4)
XYZxyz(25.1709, 14.2215, 37.0093)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37A5 #37AC3E
analogous
#7937AC #AC37A5 #AC376A
triadic
#AC37A5 #A5AC37 #37A5AC
tetradic
#AC37A5 #AC7937 #37AC3E #376AAC
square
#AC37A5 #AC7937 #37AC3E #376AAC
split-complementary
#AC37A5 #6AAC37 #37AC79
monochromatic
#4F194C #7E2879 #AC37A5 #C957C2 #D885D3

Accessibility & contrast

On white

5.46
#AC37A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AC37A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37A5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37A5#FFFFFF#000000##FFFFFF
##AC37A51.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#B2456A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac37a5;
/* rgb */ color: rgb(172, 55, 165);
/* oklch */ color: oklch(54.8% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#c878c0',
    500: '#ac37a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac37a5;
$custom-light: #c878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37a5",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 303.59,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.19611,
    "h": 330.4
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#AC37A5
secondary
#7DC281
accent
#DB554D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AC37A5

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

Preview Lab → · Contrast checker → · Palette generator →

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