#AB58BB#AB58BB

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

Color values

HEX#AB58BB
RGBrgb(171, 88, 187)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 53%, 73%)
CMYKcmyk(8.6%, 52.9%, 0%, 26.7%)
CIE-LABlab(50.95, 49.00, -38.01)
CIE-LCHlch(50.95, 62.02, 322.20°)
OKLaboklab(59.77% 0.1299 -0.1053)
OKLCHoklch(59.77% 0.167 320.9)
XYZxyz(29.2529, 19.2265, 49.1743)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58BB #68BB58
analogous
#7A58BB #AB58BB #BB589A
triadic
#AB58BB #BBAB58 #58BBAB
tetradic
#AB58BB #BB7A58 #68BB58 #589ABB
square
#AB58BB #BB7A58 #68BB58 #589ABB
split-complementary
#AB58BB #9ABB58 #58BB7A
monochromatic
#622C6C #893E98 #AB58BB #C183CD #D7AFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB58BB#FFFFFF#000000##000000
##AB58BB1.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)
#4773BE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#AC6681
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab58bb;
/* rgb */ color: rgb(171, 88, 187);
/* oklch */ color: oklch(59.8% 0.167 320.9);
Tailwind
colors: {
  custom: {
    50: '#c68bd0',
    500: '#ab58bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab58bb;
$custom-light: #c68bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58bb",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 290.303,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.16721,
    "h": 320.9
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#AB58BB
secondary
#A9CDA2
accent
#D2566A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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