#AB4ABE#AB4ABE

#AB4ABE is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.191 H 320.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4ABE
RGBrgb(171, 74, 190)
HSLhsl(290, 47%, 52%)
HSVhsv(290, 61%, 75%)
CMYKcmyk(10%, 61.1%, 0%, 25.5%)
CIE-LABlab(48.60, 56.34, -43.46)
CIE-LCHlch(48.60, 71.16, 322.35°)
OKLaboklab(58.1% 0.1483 -0.1211)
OKLCHoklch(58.1% 0.191 320.8)
XYZxyz(28.5365, 17.2745, 50.5364)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ABE #5DBE4A
analogous
#714ABE #AB4ABE #BE4A97
triadic
#AB4ABE #BEAB4A #4ABEAB
tetradic
#AB4ABE #BE714A #5DBE4A #4A97BE
square
#AB4ABE #BE714A #5DBE4A #4A97BE
split-complementary
#AB4ABE #97BE4A #4ABE71
monochromatic
#5D2568 #863695 #AB4ABE #C077CE #D5A4DE

Accessibility & contrast

On white

4.71
#AB4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AB4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4ABE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ABE#FFFFFF#000000##FFFFFF
##AB4ABE1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#AC5C7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4abe;
/* rgb */ color: rgb(171, 74, 190);
/* oklch */ color: oklch(58.1% 0.191 320.8);
Tailwind
colors: {
  custom: {
    50: '#c782d2',
    500: '#ab4abe',
    950: '#000000',
  },
}
SCSS
$custom: #ab4abe;
$custom-light: #c782d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4abe",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 290.172,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.581,
    "c": 0.19145,
    "h": 320.8
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#AB4ABE
secondary
#A1CB98
accent
#D75167
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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