#AB58CD#AB58CD

#AB58CD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.186 H 315.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB58CD
RGBrgb(171, 88, 205)
HSLhsl(283, 54%, 57%)
HSVhsv(283, 57%, 80%)
CMYKcmyk(16.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(51.89, 52.66, -46.89)
CIE-LCHlch(51.89, 70.51, 318.32°)
OKLaboklab(60.76% 0.1313 -0.1311)
OKLCHoklch(60.76% 0.186 315)
XYZxyz(31.3020, 20.0461, 59.9662)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58CD #7ACD58
analogous
#7058CD #AB58CD #CD58B5
triadic
#AB58CD #CDAB58 #58CDAB
tetradic
#AB58CD #CD7058 #7ACD58 #58B5CD
square
#AB58CD #CD7058 #7ACD58 #58B5CD
split-complementary
#AB58CD #B5CD58 #58CD70
monochromatic
#692783 #8E35B2 #AB58CD #C387DB #DAB6E9

Accessibility & contrast

On white

4.19
#AB58CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AB58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58CD#FFFFFF#000000##000000
##AB58CD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#A96C8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab58cd;
/* rgb */ color: rgb(171, 88, 205);
/* oklch */ color: oklch(60.8% 0.186 315.0);
Tailwind
colors: {
  custom: {
    50: '#c78bdd',
    500: '#ab58cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab58cd;
$custom-light: #c78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58cd",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 282.564,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.18554,
    "h": 315
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#AB58CD
secondary
#B7D8A9
accent
#DD4B75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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