#AC37B2#AC37B2

#AC37B2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.207 H 325.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AC37B2
RGBrgb(172, 55, 178)
HSLhsl(297, 53%, 46%)
HSVhsv(297, 69%, 70%)
CMYKcmyk(3.4%, 69.1%, 0%, 30.2%)
CIE-LABlab(45.25, 62.30, -41.77)
CIE-LCHlch(45.25, 75.00, 326.16°)
OKLaboklab(55.49% 0.1709 -0.116)
OKLCHoklch(55.49% 0.207 325.8)
XYZxyz(26.4148, 14.7191, 43.5606)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37B2 #3DB237
analogous
#6E37B2 #AC37B2 #B2377A
triadic
#AC37B2 #B2AC37 #37B2AC
tetradic
#AC37B2 #B26E37 #3DB237 #377AB2
square
#AC37B2 #B26E37 #3DB237 #377AB2
split-complementary
#AC37B2 #7AB237 #37B26E
monochromatic
#521A54 #7F2983 #AC37B2 #C75ACC #D789DB

Accessibility & contrast

On white

5.33
#AC37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC37B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37B2#FFFFFF#000000##FFFFFF
##AC37B21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#B04A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac37b2;
/* rgb */ color: rgb(172, 55, 178);
/* oklch */ color: oklch(55.5% 0.207 325.8);
Tailwind
colors: {
  custom: {
    50: '#c878c9',
    500: '#ac37b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac37b2;
$custom-light: #c878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37b2",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 297.073,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.20656,
    "h": 325.8
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#AC37B2
secondary
#84C580
accent
#DC4C53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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