#AB3AAB#AB3AAB

#AB3AAB is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.197 H 327.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB3AAB
RGBrgb(171, 58, 171)
HSLhsl(300, 49%, 45%)
HSVhsv(300, 66%, 67%)
CMYKcmyk(0%, 66.1%, 0%, 32.9%)
CIE-LABlab(45.12, 59.71, -37.85)
CIE-LCHlch(45.12, 70.70, 327.63°)
OKLaboklab(55.25% 0.1664 -0.1046)
OKLCHoklch(55.25% 0.197 327.8)
XYZxyz(25.6580, 14.6261, 39.9919)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAB #3AAB3A
analogous
#733AAB #AB3AAB #AB3A73
triadic
#AB3AAB #ABAB3A #3AABAB
tetradic
#AB3AAB #AB733A #3AAB3A #3A73AB
square
#AB3AAB #AB733A #3AAB3A #3A73AB
split-complementary
#AB3AAB #73AB3A #3AAB73
monochromatic
#501B50 #7D2A7D #AB3AAB #C75BC7 #D789D7

Accessibility & contrast

On white

5.35
#AB3AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB3AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AAB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AAB#FFFFFF#000000##FFFFFF
##AB3AAB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B04A6E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3aab;
/* rgb */ color: rgb(171, 58, 171);
/* oklch */ color: oklch(55.2% 0.197 327.8);
Tailwind
colors: {
  custom: {
    50: '#c779c4',
    500: '#ab3aab',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aab;
$custom-light: #c779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aab",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 300,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.19659,
    "h": 327.8
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#AB3AAB
secondary
#80C180
accent
#D94F4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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