#AB58BA#AB58BA

#AB58BA is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.7% C 0.166 H 321.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB58BA
RGBrgb(171, 88, 186)
HSLhsl(291, 42%, 54%)
HSVhsv(291, 53%, 73%)
CMYKcmyk(8.1%, 52.7%, 0%, 27.1%)
CIE-LABlab(50.90, 48.80, -37.51)
CIE-LCHlch(50.90, 61.55, 322.45°)
OKLaboklab(59.71% 0.1297 -0.1039)
OKLCHoklch(59.71% 0.166 321.3)
XYZxyz(29.1462, 19.1838, 48.6124)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58BA #67BA58
analogous
#7A58BA #AB58BA #BA5898
triadic
#AB58BA #BAAB58 #58BAAB
tetradic
#AB58BA #BA7A58 #67BA58 #5898BA
square
#AB58BA #BA7A58 #67BA58 #5898BA
split-complementary
#AB58BA #98BA58 #58BA7A
monochromatic
#622C6B #893E97 #AB58BA #C183CC #D7AFDE

Accessibility & contrast

On white

4.34
#AB58BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB58BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58BA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58BA#FFFFFF#000000##000000
##AB58BA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#AD6581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab58ba;
/* rgb */ color: rgb(171, 88, 186);
/* oklch */ color: oklch(59.7% 0.166 321.3);
Tailwind
colors: {
  custom: {
    50: '#c68bcf',
    500: '#ab58ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ba;
$custom-light: #c68bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ba",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 290.816,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.16621,
    "h": 321.3
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#AB58BA
secondary
#A8CCA2
accent
#D15669
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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