#AC58CB#AC58CB

#AC58CB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.184 H 316.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC58CB
RGBrgb(172, 88, 203)
HSLhsl(284, 53%, 57%)
HSVhsv(284, 57%, 80%)
CMYKcmyk(15.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(51.91, 52.50, -45.70)
CIE-LCHlch(51.91, 69.61, 318.96°)
OKLaboklab(60.77% 0.1324 -0.1277)
OKLCHoklch(60.77% 0.184 316)
XYZxyz(31.2808, 20.0629, 58.7131)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC58CB #77CB58
analogous
#7358CB #AC58CB #CB58B1
triadic
#AC58CB #CBAC58 #58CBAC
tetradic
#AC58CB #CB7358 #77CB58 #58B1CB
square
#AC58CB #CB7358 #77CB58 #58B1CB
split-complementary
#AC58CB #B1CB58 #58CB73
monochromatic
#692881 #8F37AF #AC58CB #C387DA #DAB5E8

Accessibility & contrast

On white

4.19
#AC58CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AC58CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC58CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC58CB#FFFFFF#000000##000000
##AC58CB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#AA6B89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac58cb;
/* rgb */ color: rgb(172, 88, 203);
/* oklch */ color: oklch(60.8% 0.184 316.0);
Tailwind
colors: {
  custom: {
    50: '#c78bdb',
    500: '#ac58cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac58cb;
$custom-light: #c78bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac58cb",
  "rgb": {
    "r": 172,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 283.826,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.18391,
    "h": 316
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#AC58CB
secondary
#B5D7A8
accent
#DC4C73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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