#AB4EBE#AB4EBE

#AB4EBE is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.186 H 320.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4EBE
RGBrgb(171, 78, 190)
HSLhsl(290, 46%, 53%)
HSVhsv(290, 59%, 75%)
CMYKcmyk(10%, 58.9%, 0%, 25.5%)
CIE-LABlab(49.28, 54.48, -42.39)
CIE-LCHlch(49.28, 69.03, 322.12°)
OKLaboklab(58.6% 0.1433 -0.118)
OKLCHoklch(58.6% 0.186 320.5)
XYZxyz(28.8121, 17.8257, 50.6283)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EBE #61BE4E
analogous
#734EBE #AB4EBE #BE4E99
triadic
#AB4EBE #BEAB4E #4EBEAB
tetradic
#AB4EBE #BE734E #61BE4E #4E99BE
square
#AB4EBE #BE734E #61BE4E #4E99BE
split-complementary
#AB4EBE #99BE4E #4EBE73
monochromatic
#5F276A #873897 #AB4EBE #C07BCE #D5A8DF

Accessibility & contrast

On white

4.60
#AB4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4EBE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EBE#FFFFFF#000000##FFFFFF
##AB4EBE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#5879BB
Tritanopia (blue-blind)
#AC5F7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ebe;
/* rgb */ color: rgb(171, 78, 190);
/* oklch */ color: oklch(58.6% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#c785d2',
    500: '#ab4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ebe;
$custom-light: #c785d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ebe",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 289.821,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.18562,
    "h": 320.5
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#AB4EBE
secondary
#A4CC9C
accent
#D65268
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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