#AB3AAD#AB3AAD

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

Color values

HEX#AB3AAD
RGBrgb(171, 58, 173)
HSLhsl(299, 50%, 45%)
HSVhsv(299, 66%, 68%)
CMYKcmyk(1.2%, 66.5%, 0%, 32.2%)
CIE-LABlab(45.22, 60.05, -38.87)
CIE-LCHlch(45.22, 71.53, 327.09°)
OKLaboklab(55.36% 0.1665 -0.1076)
OKLCHoklch(55.36% 0.198 327.1)
XYZxyz(25.8501, 14.7029, 41.0035)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAD #3CAD3A
analogous
#723AAD #AB3AAD #AD3A75
triadic
#AB3AAD #ADAB3A #3AADAB
tetradic
#AB3AAD #AD723A #3CAD3A #3A75AD
square
#AB3AAD #AD723A #3CAD3A #3A75AD
split-complementary
#AB3AAD #75AD3A #3AAD72
monochromatic
#501B51 #7E2B7F #AB3AAD #C65CC8 #D68AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3AAD#FFFFFF#000000##FFFFFF
##AB3AAD1.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)
#2862B0
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#B04A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3aad;
/* rgb */ color: rgb(171, 58, 173);
/* oklch */ color: oklch(55.4% 0.198 327.1);
Tailwind
colors: {
  custom: {
    50: '#c779c6',
    500: '#ab3aad',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aad;
$custom-light: #c779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aad",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 173
  },
  "hsl": {
    "h": 298.957,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.19824,
    "h": 327.1
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#AB3AAD
secondary
#82C281
accent
#D94E51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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