#AB3EA6#AB3EA6

#AB3EA6 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.187 H 329.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA6
RGBrgb(171, 62, 166)
HSLhsl(303, 47%, 46%)
HSVhsv(303, 64%, 67%)
CMYKcmyk(0%, 63.7%, 2.9%, 32.9%)
CIE-LABlab(45.44, 57.23, -34.38)
CIE-LCHlch(45.44, 66.77, 329.00°)
OKLaboklab(55.39% 0.1615 -0.0947)
OKLCHoklch(55.39% 0.187 329.6)
XYZxyz(25.3999, 14.8581, 37.5991)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA6 #3EAB43
analogous
#793EAB #AB3EA6 #AB3E6F
triadic
#AB3EA6 #A6AB3E #3EA6AB
tetradic
#AB3EA6 #AB793E #3EAB43 #3E6FAB
square
#AB3EA6 #AB793E #3EAB43 #3E6FAB
split-complementary
#AB3EA6 #6FAB3E #3EAB79
monochromatic
#511D4F #7E2E7A #AB3EA6 #C661C1 #D68ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3EA6#FFFFFF#000000##FFFFFF
##AB3EA61.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)
#3462A9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#B14A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ea6;
/* rgb */ color: rgb(171, 62, 166);
/* oklch */ color: oklch(55.4% 0.187 329.6);
Tailwind
colors: {
  custom: {
    50: '#c77bc1',
    500: '#ab3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea6;
$custom-light: #c77bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea6",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 302.752,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.1872,
    "h": 329.6
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#AB3EA6
secondary
#84C187
accent
#D65751
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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