#AB3EA1#AB3EA1

#AB3EA1 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.183 H 331.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA1
RGBrgb(171, 62, 161)
HSLhsl(306, 47%, 46%)
HSVhsv(306, 64%, 67%)
CMYKcmyk(0%, 63.7%, 5.8%, 32.9%)
CIE-LABlab(45.19, 56.40, -31.80)
CIE-LCHlch(45.19, 64.74, 330.58°)
OKLaboklab(55.13% 0.161 -0.0872)
OKLCHoklch(55.13% 0.183 331.6)
XYZxyz(24.9502, 14.6782, 35.2304)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA1 #3EAB48
analogous
#7E3EAB #AB3EA1 #AB3E6A
triadic
#AB3EA1 #A1AB3E #3EA1AB
tetradic
#AB3EA1 #AB7E3E #3EAB48 #3E6AAB
square
#AB3EA1 #AB7E3E #3EAB48 #3E6AAB
split-complementary
#AB3EA1 #6AAB3E #3EAB7E
monochromatic
#511D4C #7E2E77 #AB3EA1 #C661BC #D68ECF

Accessibility & contrast

On white

5.34
#AB3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3EA1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA1#FFFFFF#000000##FFFFFF
##AB3EA11.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#B2486A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ea1;
/* rgb */ color: rgb(171, 62, 161);
/* oklch */ color: oklch(55.1% 0.183 331.6);
Tailwind
colors: {
  custom: {
    50: '#c77bbd',
    500: '#ab3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea1;
$custom-light: #c77bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea1",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 305.505,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.18314,
    "h": 331.6
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#AB3EA1
secondary
#84C18A
accent
#D65E51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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