#AB58C8#AB58C8

#AB58C8 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.180 H 316.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB58C8
RGBrgb(171, 88, 200)
HSLhsl(284, 50%, 56%)
HSVhsv(284, 56%, 78%)
CMYKcmyk(14.5%, 56%, 0%, 21.6%)
CIE-LABlab(51.62, 51.62, -44.45)
CIE-LCHlch(51.62, 68.12, 319.27°)
OKLaboklab(60.48% 0.131 -0.124)
OKLCHoklch(60.48% 0.18 316.6)
XYZxyz(30.7081, 19.8086, 56.8382)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58C8 #75C858
analogous
#7358C8 #AB58C8 #C858AD
triadic
#AB58C8 #C8AB58 #58C8AB
tetradic
#AB58C8 #C87358 #75C858 #58ADC8
square
#AB58C8 #C87358 #75C858 #58ADC8
split-complementary
#AB58C8 #ADC858 #58C873
monochromatic
#67297D #8D38AB #AB58C8 #C286D7 #D9B4E6

Accessibility & contrast

On white

4.23
#AB58C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB58C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58C8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58C8#FFFFFF#000000##000000
##AB58C81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#AA6A88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab58c8;
/* rgb */ color: rgb(171, 88, 200);
/* oklch */ color: oklch(60.5% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#c78bd9',
    500: '#ab58c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab58c8;
$custom-light: #c78bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58c8",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 284.464,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.18039,
    "h": 316.6
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#AB58C8
secondary
#B3D5A7
accent
#DA4E72
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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