#AB58CA#AB58CA

#AB58CA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.182 H 315.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB58CA
RGBrgb(171, 88, 202)
HSLhsl(284, 52%, 57%)
HSVhsv(284, 56%, 79%)
CMYKcmyk(15.3%, 56.4%, 0%, 20.8%)
CIE-LABlab(51.73, 52.04, -45.43)
CIE-LCHlch(51.73, 69.08, 318.88°)
OKLaboklab(60.59% 0.1311 -0.1269)
OKLCHoklch(60.59% 0.182 315.9)
XYZxyz(30.9434, 19.9027, 58.0773)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58CA #77CA58
analogous
#7258CA #AB58CA #CA58B0
triadic
#AB58CA #CAAB58 #58CAAB
tetradic
#AB58CA #CA7258 #77CA58 #58B0CA
square
#AB58CA #CA7258 #77CA58 #58B0CA
split-complementary
#AB58CA #B0CA58 #58CA72
monochromatic
#68287F #8D37AE #AB58CA #C286D9 #DAB5E7

Accessibility & contrast

On white

4.22
#AB58CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AB58CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58CA#FFFFFF#000000##000000
##AB58CA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#A96B89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab58ca;
/* rgb */ color: rgb(171, 88, 202);
/* oklch */ color: oklch(60.6% 0.182 315.9);
Tailwind
colors: {
  custom: {
    50: '#c78bda',
    500: '#ab58ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ca;
$custom-light: #c78bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ca",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 283.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.18244,
    "h": 315.9
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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