#AB3AAE#AB3AAE

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

Color values

HEX#AB3AAE
RGBrgb(171, 58, 174)
HSLhsl(298, 50%, 45%)
HSVhsv(298, 67%, 68%)
CMYKcmyk(1.7%, 66.7%, 0%, 31.8%)
CIE-LABlab(45.28, 60.22, -39.37)
CIE-LCHlch(45.28, 71.95, 326.82°)
OKLaboklab(55.41% 0.1665 -0.1091)
OKLCHoklch(55.41% 0.199 326.8)
XYZxyz(25.9472, 14.7417, 41.5150)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAE #3DAE3A
analogous
#713AAE #AB3AAE #AE3A77
triadic
#AB3AAE #AEAB3A #3AAEAB
tetradic
#AB3AAE #AE713A #3DAE3A #3A77AE
square
#AB3AAE #AE713A #3DAE3A #3A77AE
split-complementary
#AB3AAE #77AE3A #3AAE71
monochromatic
#511B52 #7E2B80 #AB3AAE #C65CC9 #D68AD8

Accessibility & contrast

On white

5.32
#AB3AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB3AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AAE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AAE#FFFFFF#000000##FFFFFF
##AB3AAE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#B04B6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3aae;
/* rgb */ color: rgb(171, 58, 174);
/* oklch */ color: oklch(55.4% 0.199 326.8);
Tailwind
colors: {
  custom: {
    50: '#c779c6',
    500: '#ab3aae',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aae;
$custom-light: #c779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aae",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 298.448,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.19906,
    "h": 326.8
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#AB3AAE
secondary
#83C281
accent
#DA4E52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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