#AB58CE#AB58CE

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

Color values

HEX#AB58CE
RGBrgb(171, 88, 206)
HSLhsl(282, 55%, 58%)
HSVhsv(282, 57%, 81%)
CMYKcmyk(17%, 57.3%, 0%, 19.2%)
CIE-LABlab(51.94, 52.87, -47.37)
CIE-LCHlch(51.94, 70.99, 318.14°)
OKLaboklab(60.82% 0.1313 -0.1325)
OKLCHoklch(60.82% 0.187 314.7)
XYZxyz(31.4231, 20.0946, 60.6039)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58CE #7BCE58
analogous
#7058CE #AB58CE #CE58B6
triadic
#AB58CE #CEAB58 #58CEAB
tetradic
#AB58CE #CE7058 #7BCE58 #58B6CE
square
#AB58CE #CE7058 #7BCE58 #58B6CE
split-complementary
#AB58CE #B6CE58 #58CE70
monochromatic
#692785 #8E35B4 #AB58CE #C387DC #DBB7EA

Accessibility & contrast

On white

4.18
#AB58CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AB58CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58CE#FFFFFF#000000##000000
##AB58CE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#A86C8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab58ce;
/* rgb */ color: rgb(171, 88, 206);
/* oklch */ color: oklch(60.8% 0.187 314.7);
Tailwind
colors: {
  custom: {
    50: '#c78bdd',
    500: '#ab58ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ce;
$custom-light: #c78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ce",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 282.203,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.18657,
    "h": 314.7
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#AB58CE
secondary
#B7D9A9
accent
#DE4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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