#AB58BF#AB58BF

#AB58BF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.0% C 0.171 H 319.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB58BF
RGBrgb(171, 88, 191)
HSLhsl(288, 45%, 55%)
HSVhsv(288, 54%, 75%)
CMYKcmyk(10.5%, 53.9%, 0%, 25.1%)
CIE-LABlab(51.15, 49.80, -40.01)
CIE-LCHlch(51.15, 63.88, 321.22°)
OKLaboklab(59.98% 0.1303 -0.1111)
OKLCHoklch(59.98% 0.171 319.5)
XYZxyz(29.6871, 19.4002, 51.4609)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58BF #6CBF58
analogous
#7858BF #AB58BF #BF589F
triadic
#AB58BF #BFAB58 #58BFAB
tetradic
#AB58BF #BF7858 #6CBF58 #589FBF
square
#AB58BF #BF7858 #6CBF58 #589FBF
split-complementary
#AB58BF #9FBF58 #58BF78
monochromatic
#642B71 #8B3C9D #AB58BF #C184D0 #D8B0E1

Accessibility & contrast

On white

4.30
#AB58BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB58BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58BF#FFFFFF#000000##000000
##AB58BF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#AC6783
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab58bf;
/* rgb */ color: rgb(171, 88, 191);
/* oklch */ color: oklch(60.0% 0.171 319.5);
Tailwind
colors: {
  custom: {
    50: '#c68bd3',
    500: '#ab58bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab58bf;
$custom-light: #c68bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58bf",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 288.35,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.17122,
    "h": 319.5
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#AB58BF
secondary
#ACCFA4
accent
#D4546D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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