#AC37CA#AC37CA

#AC37CA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.227 H 318.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC37CA
RGBrgb(172, 55, 202)
HSLhsl(288, 58%, 50%)
HSVhsv(288, 73%, 79%)
CMYKcmyk(14.9%, 72.8%, 0%, 20.8%)
CIE-LABlab(46.67, 66.63, -53.50)
CIE-LCHlch(46.67, 85.45, 321.24°)
OKLaboklab(56.97% 0.1698 -0.1502)
OKLCHoklch(56.97% 0.227 318.5)
XYZxyz(29.0387, 15.7686, 57.3797)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37CA #55CA37
analogous
#6237CA #AC37CA #CA379F
triadic
#AC37CA #CAAC37 #37CAAC
tetradic
#AC37CA #CA6237 #55CA37 #379FCA
square
#AC37CA #CA6237 #55CA37 #379FCA
split-complementary
#AC37CA #9FCA37 #37CA62
monochromatic
#5A1C6A #84299B #AC37CA #C067D7 #D498E4

Accessibility & contrast

On white

5.06
#AC37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AC37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37CA#FFFFFF#000000##FFFFFF
##AC37CA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#3F72C7
Tritanopia (blue-blind)
#AB557E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac37ca;
/* rgb */ color: rgb(172, 55, 202);
/* oklch */ color: oklch(57.0% 0.227 318.5);
Tailwind
colors: {
  custom: {
    50: '#c979db',
    500: '#ac37ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac37ca;
$custom-light: #c979db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37ca",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 287.755,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.22671,
    "h": 318.5
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#AC37CA
secondary
#9BCF8E
accent
#E14666
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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