#AC37D4#AC37D4

#AC37D4 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.235 H 315.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC37D4
RGBrgb(172, 55, 212)
HSLhsl(285, 65%, 52%)
HSVhsv(285, 74%, 83%)
CMYKcmyk(18.9%, 74.1%, 0%, 16.9%)
CIE-LABlab(47.31, 68.53, -58.22)
CIE-LCHlch(47.31, 89.92, 319.65°)
OKLaboklab(57.62% 0.1687 -0.1641)
OKLCHoklch(57.62% 0.235 315.8)
XYZxyz(30.2612, 16.2577, 63.8186)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37D4 #5FD437
analogous
#5D37D4 #AC37D4 #D437AE
triadic
#AC37D4 #D4AC37 #37D4AC
tetradic
#AC37D4 #D45D37 #5FD437 #37AED4
square
#AC37D4 #D45D37 #5FD437 #37AED4
split-complementary
#AC37D4 #AED437 #37D45D
monochromatic
#5F1A77 #8824A9 #AC37D4 #C169DF #D69CEA

Accessibility & contrast

On white

4.94
#AC37D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC37D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37D4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37D4#FFFFFF#000000##FFFFFF
##AC37D41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#3473D1
Tritanopia (blue-blind)
#A95983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac37d4;
/* rgb */ color: rgb(172, 55, 212);
/* oklch */ color: oklch(57.6% 0.235 315.8);
Tailwind
colors: {
  custom: {
    50: '#c979e2',
    500: '#ac37d4',
    950: '#000000',
  },
}
SCSS
$custom: #ac37d4;
$custom-light: #c979e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37d4",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 284.713,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.23533,
    "h": 315.8
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#AC37D4
secondary
#A3D691
accent
#E8406B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC37D4

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

Preview Lab → · Contrast checker → · Palette generator →

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