#AB58D4#AB58D4

#AB58D4 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.193 H 313.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB58D4
RGBrgb(171, 88, 212)
HSLhsl(280, 59%, 59%)
HSVhsv(280, 58%, 83%)
CMYKcmyk(19.3%, 58.5%, 0%, 16.9%)
CIE-LABlab(52.28, 54.14, -50.26)
CIE-LCHlch(52.28, 73.87, 317.12°)
OKLaboklab(61.17% 0.1315 -0.141)
OKLCHoklch(61.17% 0.193 313)
XYZxyz(32.1659, 20.3917, 64.5161)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58D4 #81D458
analogous
#6D58D4 #AB58D4 #D458BF
triadic
#AB58D4 #D4AB58 #58D4AB
tetradic
#AB58D4 #D46D58 #81D458 #58BFD4
square
#AB58D4 #D46D58 #81D458 #58BFD4
split-complementary
#AB58D4 #BFD458 #58D46D
monochromatic
#6B248D #8F31BE #AB58D4 #C389E1 #DCB9ED

Accessibility & contrast

On white

4.14
#AB58D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AB58D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58D4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58D4#FFFFFF#000000##000000
##AB58D41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D8
Deuteranopia (green-blind)
#527FD1
Tritanopia (blue-blind)
#A76E8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab58d4;
/* rgb */ color: rgb(171, 88, 212);
/* oklch */ color: oklch(61.2% 0.193 313.0);
Tailwind
colors: {
  custom: {
    50: '#c78be2',
    500: '#ab58d4',
    950: '#000000',
  },
}
SCSS
$custom: #ab58d4;
$custom-light: #c78be2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58d4",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 280.161,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.1928,
    "h": 313
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#AB58D4
secondary
#BCDCAB
accent
#E24679
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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