#AC37E5#AC37E5

#AC37E5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.250 H 311.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC37E5
RGBrgb(172, 55, 229)
HSLhsl(280, 77%, 56%)
HSVhsv(280, 76%, 90%)
CMYKcmyk(24.9%, 76%, 0%, 10.2%)
CIE-LABlab(48.46, 71.85, -66.05)
CIE-LCHlch(48.46, 97.60, 317.41°)
OKLaboklab(58.8% 0.166 -0.187)
OKLCHoklch(58.8% 0.25 311.6)
XYZxyz(32.5196, 17.1610, 75.7129)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37E5 #70E537
analogous
#5537E5 #AC37E5 #E537C7
triadic
#AC37E5 #E5AC37 #37E5AC
tetradic
#AC37E5 #E55537 #70E537 #37C7E5
square
#AC37E5 #E55537 #70E537 #37C7E5
split-complementary
#AC37E5 #C7E537 #37E555
monochromatic
#66138F #8D1AC5 #AC37E5 #C26DEC #D9A3F3

Accessibility & contrast

On white

4.74
#AC37E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AC37E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37E5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37E5#FFFFFF#000000##FFFFFF
##AC37E51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#1175E1
Tritanopia (blue-blind)
#A5618D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac37e5;
/* rgb */ color: rgb(172, 55, 229);
/* oklch */ color: oklch(58.8% 0.250 311.6);
Tailwind
colors: {
  custom: {
    50: '#ca7aee',
    500: '#ac37e5',
    950: '#000000',
  },
}
SCSS
$custom: #ac37e5;
$custom-light: #ca7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37e5",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 280.345,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.25011,
    "h": 311.6
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#AC37E5
secondary
#AFE098
accent
#F43473
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AC37E5

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

Preview Lab → · Contrast checker → · Palette generator →

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