#AB3BAE#AB3BAE

#AB3BAE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.198 H 326.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB3BAE
RGBrgb(171, 59, 174)
HSLhsl(298, 49%, 46%)
HSVhsv(298, 66%, 68%)
CMYKcmyk(1.7%, 66.1%, 0%, 31.8%)
CIE-LABlab(45.42, 59.83, -39.15)
CIE-LCHlch(45.42, 71.50, 326.80°)
OKLaboklab(55.51% 0.1654 -0.1084)
OKLCHoklch(55.51% 0.198 326.8)
XYZxyz(25.9981, 14.8436, 41.5319)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BAE #3EAE3B
analogous
#713BAE #AB3BAE #AE3B77
triadic
#AB3BAE #AEAB3B #3BAEAB
tetradic
#AB3BAE #AE713B #3EAE3B #3B77AE
square
#AB3BAE #AE713B #3EAE3B #3B77AE
split-complementary
#AB3BAE #77AE3B #3BAE71
monochromatic
#511C53 #7E2C80 #AB3BAE #C65EC8 #D68CD8

Accessibility & contrast

On white

5.29
#AB3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB3BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BAE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BAE#FFFFFF#000000##FFFFFF
##AB3BAE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5570AB
Tritanopia (blue-blind)
#B04B70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3bae;
/* rgb */ color: rgb(171, 59, 174);
/* oklch */ color: oklch(55.5% 0.198 326.8);
Tailwind
colors: {
  custom: {
    50: '#c77ac6',
    500: '#ab3bae',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bae;
$custom-light: #c77ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bae",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 298.435,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.19778,
    "h": 326.8
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#AB3BAE
secondary
#84C282
accent
#D94F53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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