#AB4EA6#AB4EA6

#AB4EA6 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.163 H 329.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4EA6
RGBrgb(171, 78, 166)
HSLhsl(303, 37%, 49%)
HSVhsv(303, 54%, 67%)
CMYKcmyk(0%, 54.4%, 2.9%, 32.9%)
CIE-LABlab(48.09, 50.01, -30.24)
CIE-LCHlch(48.09, 58.44, 328.84°)
OKLaboklab(57.33% 0.1409 -0.0829)
OKLCHoklch(57.33% 0.163 329.5)
XYZxyz(26.4016, 16.8615, 37.9330)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EA6 #4EAB53
analogous
#824EAB #AB4EA6 #AB4E78
triadic
#AB4EA6 #A6AB4E #4EA6AB
tetradic
#AB4EA6 #AB824E #4EAB53 #4E78AB
square
#AB4EA6 #AB824E #4EAB53 #4E78AB
split-complementary
#AB4EA6 #78AB4E #4EAB82
monochromatic
#572854 #813B7D #AB4EA6 #C076BC #D4A0D1

Accessibility & contrast

On white

4.80
#AB4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB4EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EA6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EA6#FFFFFF#000000##FFFFFF
##AB4EA61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#6477A3
Tritanopia (blue-blind)
#B15773
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4ea6;
/* rgb */ color: rgb(171, 78, 166);
/* oklch */ color: oklch(57.3% 0.163 329.5);
Tailwind
colors: {
  custom: {
    50: '#c684c0',
    500: '#ab4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ea6;
$custom-light: #c684c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ea6",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 303.226,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.16345,
    "h": 329.5
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#AB4EA6
secondary
#94C197
accent
#CD615A
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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