#AB4EC0#AB4EC0

#AB4EC0 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.188 H 319.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AB4EC0
RGBrgb(171, 78, 192)
HSLhsl(289, 48%, 53%)
HSVhsv(289, 59%, 75%)
CMYKcmyk(10.9%, 59.4%, 0%, 24.7%)
CIE-LABlab(49.39, 54.87, -43.37)
CIE-LCHlch(49.39, 69.94, 321.68°)
OKLaboklab(58.71% 0.1434 -0.1208)
OKLCHoklch(58.71% 0.188 319.9)
XYZxyz(29.0322, 17.9138, 51.7874)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EC0 #63C04E
analogous
#724EC0 #AB4EC0 #C04E9C
triadic
#AB4EC0 #C0AB4E #4EC0AB
tetradic
#AB4EC0 #C0724E #63C04E #4E9CC0
square
#AB4EC0 #C0724E #63C04E #4E9CC0
split-complementary
#AB4EC0 #9CC04E #4EC072
monochromatic
#60276D #88379A #AB4EC0 #C07BD0 #D6A8E0

Accessibility & contrast

On white

4.58
#AB4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AB4EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EC0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EC0#FFFFFF#000000##000000
##AB4EC01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#346FC4
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#AC6080
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ec0;
/* rgb */ color: rgb(171, 78, 192);
/* oklch */ color: oklch(58.7% 0.188 319.9);
Tailwind
colors: {
  custom: {
    50: '#c785d3',
    500: '#ab4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ec0;
$custom-light: #c785d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ec0",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 288.947,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.18753,
    "h": 319.9
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#AB4EC0
secondary
#A5CE9C
accent
#D75169
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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