#AB4EBD#AB4EBD

#AB4EBD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.185 H 320.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4EBD
RGBrgb(171, 78, 189)
HSLhsl(290, 46%, 52%)
HSVhsv(290, 59%, 74%)
CMYKcmyk(9.5%, 58.7%, 0%, 25.9%)
CIE-LABlab(49.23, 54.29, -41.89)
CIE-LCHlch(49.23, 68.57, 322.35°)
OKLaboklab(58.54% 0.1433 -0.1165)
OKLCHoklch(58.54% 0.185 320.9)
XYZxyz(28.7032, 17.7822, 50.0546)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EBD #60BD4E
analogous
#734EBD #AB4EBD #BD4E98
triadic
#AB4EBD #BDAB4E #4EBDAB
tetradic
#AB4EBD #BD734E #60BD4E #4E98BD
square
#AB4EBD #BD734E #60BD4E #4E98BD
split-complementary
#AB4EBD #98BD4E #4EBD73
monochromatic
#5F2769 #873896 #AB4EBD #C07BCE #D5A7DE

Accessibility & contrast

On white

4.61
#AB4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AB4EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EBD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EBD#FFFFFF#000000##FFFFFF
##AB4EBD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#AC5F7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ebd;
/* rgb */ color: rgb(171, 78, 189);
/* oklch */ color: oklch(58.5% 0.185 320.9);
Tailwind
colors: {
  custom: {
    50: '#c785d1',
    500: '#ab4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ebd;
$custom-light: #c785d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ebd",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 290.27,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.18466,
    "h": 320.9
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#AB4EBD
secondary
#A3CC9B
accent
#D55268
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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