#AC58CA#AC58CA

#AC58CA is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.183 H 316.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC58CA
RGBrgb(172, 88, 202)
HSLhsl(284, 52%, 57%)
HSVhsv(284, 56%, 79%)
CMYKcmyk(14.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(51.85, 52.30, -45.22)
CIE-LCHlch(51.85, 69.13, 319.15°)
OKLaboklab(60.71% 0.1323 -0.1262)
OKLCHoklch(60.71% 0.183 316.3)
XYZxyz(31.1621, 20.0154, 58.0875)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC58CA #76CA58
analogous
#7358CA #AC58CA #CA58AF
triadic
#AC58CA #CAAC58 #58CAAC
tetradic
#AC58CA #CA7358 #76CA58 #58AFCA
square
#AC58CA #CA7358 #76CA58 #58AFCA
split-complementary
#AC58CA #AFCA58 #58CA73
monochromatic
#68287F #8E37AE #AC58CA #C386D9 #DAB5E7

Accessibility & contrast

On white

4.20
#AC58CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC58CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC58CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC58CA#FFFFFF#000000##000000
##AC58CA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#AB6B89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac58ca;
/* rgb */ color: rgb(172, 88, 202);
/* oklch */ color: oklch(60.7% 0.183 316.3);
Tailwind
colors: {
  custom: {
    50: '#c78bda',
    500: '#ac58ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac58ca;
$custom-light: #c78bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ac58ca",
  "rgb": {
    "r": 172,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 284.211,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.18287,
    "h": 316.3
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#AC58CA
secondary
#B4D6A8
accent
#DB4D72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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