#AB4EA4#AB4EA4

#AB4EA4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.162 H 330.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4EA4
RGBrgb(171, 78, 164)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 54.4%, 4.1%, 32.9%)
CIE-LABlab(47.99, 49.66, -29.20)
CIE-LCHlch(47.99, 57.61, 329.54°)
OKLaboklab(57.23% 0.1406 -0.0799)
OKLCHoklch(57.23% 0.162 330.4)
XYZxyz(26.2196, 16.7887, 36.9743)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EA4 #4EAB55
analogous
#844EAB #AB4EA4 #AB4E76
triadic
#AB4EA4 #A4AB4E #4EA4AB
tetradic
#AB4EA4 #AB844E #4EAB55 #4E76AB
square
#AB4EA4 #AB844E #4EAB55 #4E76AB
split-complementary
#AB4EA4 #76AB4E #4EAB84
monochromatic
#572853 #813B7C #AB4EA4 #C076BB #D4A0D0

Accessibility & contrast

On white

4.82
#AB4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB4EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EA4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EA4#FFFFFF#000000##FFFFFF
##AB4EA41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6577A1
Tritanopia (blue-blind)
#B15672
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4ea4;
/* rgb */ color: rgb(171, 78, 164);
/* oklch */ color: oklch(57.2% 0.162 330.4);
Tailwind
colors: {
  custom: {
    50: '#c684bf',
    500: '#ab4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ea4;
$custom-light: #c684bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ea4",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 304.516,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.1617,
    "h": 330.4
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#AB4EA4
secondary
#94C198
accent
#CD635A
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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