#AB3AAA#AB3AAA

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

Color values

HEX#AB3AAA
RGBrgb(171, 58, 170)
HSLhsl(301, 49%, 45%)
HSVhsv(301, 66%, 67%)
CMYKcmyk(0%, 66.1%, 0.6%, 32.9%)
CIE-LABlab(45.06, 59.54, -37.35)
CIE-LCHlch(45.06, 70.28, 327.90°)
OKLaboklab(55.19% 0.1664 -0.1032)
OKLCHoklch(55.19% 0.196 328.2)
XYZxyz(25.5630, 14.5881, 39.4918)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAA #3AAB3B
analogous
#743AAB #AB3AAA #AB3A72
triadic
#AB3AAA #AAAB3A #3AAAAB
tetradic
#AB3AAA #AB743A #3AAB3B #3A72AB
square
#AB3AAA #AB743A #3AAB3B #3A72AB
split-complementary
#AB3AAA #72AB3A #3AAB74
monochromatic
#501B4F #7D2A7D #AB3AAA #C75BC6 #D789D6

Accessibility & contrast

On white

5.36
#AB3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3AAA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AAA#FFFFFF#000000##FFFFFF
##AB3AAA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3aaa;
/* rgb */ color: rgb(171, 58, 170);
/* oklch */ color: oklch(55.2% 0.196 328.2);
Tailwind
colors: {
  custom: {
    50: '#c779c4',
    500: '#ab3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aaa;
$custom-light: #c779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aaa",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 300.531,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.19578,
    "h": 328.2
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#AB3AAA
secondary
#80C180
accent
#D9504F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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