#AB58D3#AB58D3

#AB58D3 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.192 H 313.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB58D3
RGBrgb(171, 88, 211)
HSLhsl(280, 58%, 59%)
HSVhsv(280, 58%, 83%)
CMYKcmyk(19%, 58.3%, 0%, 17.3%)
CIE-LABlab(52.22, 53.92, -49.78)
CIE-LCHlch(52.22, 73.39, 317.29°)
OKLaboklab(61.11% 0.1315 -0.1396)
OKLCHoklch(61.11% 0.192 313.3)
XYZxyz(32.0402, 20.3414, 63.8539)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58D3 #80D358
analogous
#6D58D3 #AB58D3 #D358BD
triadic
#AB58D3 #D3AB58 #58D3AB
tetradic
#AB58D3 #D36D58 #80D358 #58BDD3
square
#AB58D3 #D36D58 #80D358 #58BDD3
split-complementary
#AB58D3 #BDD358 #58D36D
monochromatic
#6A258C #8F32BC #AB58D3 #C388E0 #DCB9ED

Accessibility & contrast

On white

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

On black

5.07
#AB58D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58D3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58D3#FFFFFF#000000##000000
##AB58D31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D7
Deuteranopia (green-blind)
#527FD0
Tritanopia (blue-blind)
#A76E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab58d3;
/* rgb */ color: rgb(171, 88, 211);
/* oklch */ color: oklch(61.1% 0.192 313.3);
Tailwind
colors: {
  custom: {
    50: '#c78be1',
    500: '#ab58d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab58d3;
$custom-light: #c78be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58d3",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 280.488,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.19175,
    "h": 313.3
  },
  "luminance": 0.20341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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