#AB3BAA#AB3BAA

#AB3BAA is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.194 H 328.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB3BAA
RGBrgb(171, 59, 170)
HSLhsl(301, 49%, 45%)
HSVhsv(301, 65%, 67%)
CMYKcmyk(0%, 65.5%, 0.6%, 32.9%)
CIE-LABlab(45.21, 59.14, -37.12)
CIE-LCHlch(45.21, 69.82, 327.88°)
OKLaboklab(55.29% 0.1653 -0.1025)
OKLCHoklch(55.29% 0.194 328.2)
XYZxyz(25.6139, 14.6899, 39.5088)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BAA #3BAB3C
analogous
#743BAB #AB3BAA #AB3B72
triadic
#AB3BAA #AAAB3B #3BAAAB
tetradic
#AB3BAA #AB743B #3BAB3C #3B72AB
square
#AB3BAA #AB743B #3BAB3C #3B72AB
split-complementary
#AB3BAA #72AB3B #3BAB74
monochromatic
#501C50 #7D2B7D #AB3BAA #C75CC6 #D78AD6

Accessibility & contrast

On white

5.33
#AB3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB3BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BAA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BAA#FFFFFF#000000##FFFFFF
##AB3BAA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B04A6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3baa;
/* rgb */ color: rgb(171, 59, 170);
/* oklch */ color: oklch(55.3% 0.194 328.2);
Tailwind
colors: {
  custom: {
    50: '#c77ac4',
    500: '#ab3baa',
    950: '#000000',
  },
}
SCSS
$custom: #ab3baa;
$custom-light: #c77ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3baa",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 300.536,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.19448,
    "h": 328.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#AB3BAA
secondary
#81C181
accent
#D85150
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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