#AB3AA3#AB3AA3

#AB3AA3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.190 H 330.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB3AA3
RGBrgb(171, 58, 163)
HSLhsl(304, 49%, 45%)
HSVhsv(304, 66%, 67%)
CMYKcmyk(0%, 66.1%, 4.7%, 32.9%)
CIE-LABlab(44.70, 58.36, -33.76)
CIE-LCHlch(44.70, 67.42, 329.95°)
OKLaboklab(54.81% 0.1659 -0.0928)
OKLCHoklch(54.81% 0.19 330.8)
XYZxyz(24.9184, 14.3302, 36.0968)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AA3 #3AAB42
analogous
#7B3AAB #AB3AA3 #AB3A6A
triadic
#AB3AA3 #A3AB3A #3AA3AB
tetradic
#AB3AA3 #AB7B3A #3AAB42 #3A6AAB
square
#AB3AA3 #AB7B3A #3AAB42 #3A6AAB
split-complementary
#AB3AA3 #6AAB3A #3AAB7B
monochromatic
#501B4C #7D2A77 #AB3AA3 #C75BC0 #D789D1

Accessibility & contrast

On white

5.43
#AB3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB3AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AA3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AA3#FFFFFF#000000##FFFFFF
##AB3AA31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#B24669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3aa3;
/* rgb */ color: rgb(171, 58, 163);
/* oklch */ color: oklch(54.8% 0.190 330.8);
Tailwind
colors: {
  custom: {
    50: '#c779be',
    500: '#ab3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aa3;
$custom-light: #c779be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aa3",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 304.248,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.19013,
    "h": 330.8
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#AB3AA3
secondary
#80C184
accent
#D9594F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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