#AC37CF#AC37CF

#AC37CF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.231 H 317.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC37CF
RGBrgb(172, 55, 207)
HSLhsl(286, 61%, 51%)
HSVhsv(286, 73%, 81%)
CMYKcmyk(16.9%, 73.4%, 0%, 18.8%)
CIE-LABlab(46.99, 67.57, -55.87)
CIE-LCHlch(46.99, 87.68, 320.42°)
OKLaboklab(57.29% 0.1693 -0.1572)
OKLCHoklch(57.29% 0.231 317.1)
XYZxyz(29.6403, 16.0093, 60.5482)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37CF #5ACF37
analogous
#6037CF #AC37CF #CF37A6
triadic
#AC37CF #CFAC37 #37CFAC
tetradic
#AC37CF #CF6037 #5ACF37 #37A6CF
square
#AC37CF #CF6037 #5ACF37 #37A6CF
split-complementary
#AC37CF #A6CF37 #37CF60
monochromatic
#5D1B71 #8627A2 #AC37CF #C068DB #D59AE7

Accessibility & contrast

On white

5.00
#AC37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37CF#FFFFFF#000000##FFFFFF
##AC37CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#AA5781
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac37cf;
/* rgb */ color: rgb(172, 55, 207);
/* oklch */ color: oklch(57.3% 0.231 317.1);
Tailwind
colors: {
  custom: {
    50: '#c979de',
    500: '#ac37cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac37cf;
$custom-light: #c979de;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37cf",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 286.184,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.23101,
    "h": 317.1
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#AC37CF
secondary
#9FD28F
accent
#E44368
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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