#AB3AB6#AB3AB6

#AB3AB6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.206 H 324.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3AB6
RGBrgb(171, 58, 182)
HSLhsl(295, 52%, 47%)
HSVhsv(295, 68%, 71%)
CMYKcmyk(6%, 68.1%, 0%, 28.6%)
CIE-LABlab(45.72, 61.63, -43.38)
CIE-LCHlch(45.72, 75.37, 324.86°)
OKLaboklab(55.87% 0.1666 -0.1207)
OKLCHoklch(55.87% 0.206 324.1)
XYZxyz(26.7504, 15.0630, 45.7454)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB6 #45B63A
analogous
#6D3AB6 #AB3AB6 #B63A83
triadic
#AB3AB6 #B6AB3A #3AB6AB
tetradic
#AB3AB6 #B66D3A #45B63A #3A83B6
square
#AB3AB6 #B66D3A #45B63A #3A83B6
split-complementary
#AB3AB6 #83B63A #3AB66D
monochromatic
#541C59 #7F2B88 #AB3AB6 #C361CD #D58FDB

Accessibility & contrast

On white

5.23
#AB3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB3AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AB6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB6#FFFFFF#000000##FFFFFF
##AB3AB61.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#AE4E74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab6;
/* rgb */ color: rgb(171, 58, 182);
/* oklch */ color: oklch(55.9% 0.206 324.1);
Tailwind
colors: {
  custom: {
    50: '#c77acc',
    500: '#ab3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab6;
$custom-light: #c77acc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab6",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 294.677,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.20575,
    "h": 324.1
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#AB3AB6
secondary
#8BC686
accent
#DB4D59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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