#AB4EA3#AB4EA3

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

Color values

HEX#AB4EA3
RGBrgb(171, 78, 163)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 54.4%, 4.7%, 32.9%)
CIE-LABlab(47.95, 49.48, -28.68)
CIE-LCHlch(47.95, 57.19, 329.90°)
OKLaboklab(57.18% 0.1404 -0.0784)
OKLCHoklch(57.18% 0.161 330.8)
XYZxyz(26.1297, 16.7527, 36.5006)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EA3 #4EAB56
analogous
#854EAB #AB4EA3 #AB4E75
triadic
#AB4EA3 #A3AB4E #4EA3AB
tetradic
#AB4EA3 #AB854E #4EAB56 #4E75AB
square
#AB4EA3 #AB854E #4EAB56 #4E75AB
split-complementary
#AB4EA3 #75AB4E #4EAB85
monochromatic
#572853 #813B7B #AB4EA3 #C076BA #D4A0CF

Accessibility & contrast

On white

4.83
#AB4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AB4EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EA3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EA3#FFFFFF#000000##FFFFFF
##AB4EA31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA6
Deuteranopia (green-blind)
#6676A0
Tritanopia (blue-blind)
#B15671
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4ea3;
/* rgb */ color: rgb(171, 78, 163);
/* oklch */ color: oklch(57.2% 0.161 330.8);
Tailwind
colors: {
  custom: {
    50: '#c684be',
    500: '#ab4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ea3;
$custom-light: #c684be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ea3",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 305.161,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.16083,
    "h": 330.8
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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