#AC37D7#AC37D7

#AC37D7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.238 H 315.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC37D7
RGBrgb(172, 55, 215)
HSLhsl(284, 67%, 53%)
HSVhsv(284, 74%, 84%)
CMYKcmyk(20%, 74.4%, 0%, 15.7%)
CIE-LABlab(47.51, 69.10, -59.62)
CIE-LCHlch(47.51, 91.27, 319.21°)
OKLaboklab(57.83% 0.1683 -0.1682)
OKLCHoklch(57.83% 0.238 315)
XYZxyz(30.6432, 16.4105, 65.8302)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37D7 #62D737
analogous
#5C37D7 #AC37D7 #D737B2
triadic
#AC37D7 #D7AC37 #37D7AC
tetradic
#AC37D7 #D75C37 #62D737 #37B2D7
square
#AC37D7 #D75C37 #62D737 #37B2D7
split-complementary
#AC37D7 #B2D737 #37D75C
monochromatic
#61197B #8923AE #AC37D7 #C16AE1 #D69DEB

Accessibility & contrast

On white

4.90
#AC37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AC37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37D7#FFFFFF#000000##FFFFFF
##AC37D71.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#A85B85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac37d7;
/* rgb */ color: rgb(172, 55, 215);
/* oklch */ color: oklch(57.8% 0.238 315.0);
Tailwind
colors: {
  custom: {
    50: '#c97ae4',
    500: '#ac37d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac37d7;
$custom-light: #c97ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37d7",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 283.875,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.23792,
    "h": 315
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#AC37D7
secondary
#A5D792
accent
#EA3E6C
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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