#AB58BC#AB58BC

#AB58BC is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.8% C 0.168 H 320.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB58BC
RGBrgb(171, 88, 188)
HSLhsl(290, 43%, 54%)
HSVhsv(290, 53%, 74%)
CMYKcmyk(9%, 53.2%, 0%, 26.3%)
CIE-LABlab(51.00, 49.20, -38.51)
CIE-LCHlch(51.00, 62.48, 321.95°)
OKLaboklab(59.82% 0.13 -0.1068)
OKLCHoklch(59.82% 0.168 320.6)
XYZxyz(29.3603, 19.2695, 49.7400)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58BC #69BC58
analogous
#7958BC #AB58BC #BC589B
triadic
#AB58BC #BCAB58 #58BCAB
tetradic
#AB58BC #BC7958 #69BC58 #589BBC
square
#AB58BC #BC7958 #69BC58 #589BBC
split-complementary
#AB58BC #9BBC58 #58BC79
monochromatic
#622C6E #8A3E99 #AB58BC #C184CE #D7AFDF

Accessibility & contrast

On white

4.33
#AB58BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB58BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58BC#FFFFFF#000000##000000
##AB58BC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674BF
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#AC6682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab58bc;
/* rgb */ color: rgb(171, 88, 188);
/* oklch */ color: oklch(59.8% 0.168 320.6);
Tailwind
colors: {
  custom: {
    50: '#c68bd0',
    500: '#ab58bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab58bc;
$custom-light: #c68bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58bc",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 289.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.16821,
    "h": 320.6
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#AB58BC
secondary
#AACDA3
accent
#D3556B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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