#AB4ADA#AB4ADA

#AB4ADA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.218 H 312.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB4ADA
RGBrgb(171, 74, 218)
HSLhsl(280, 66%, 57%)
HSVhsv(280, 66%, 85%)
CMYKcmyk(21.6%, 66.1%, 0%, 14.5%)
CIE-LABlab(50.24, 61.95, -56.94)
CIE-LCHlch(50.24, 84.15, 317.41°)
OKLaboklab(59.81% 0.1479 -0.1605)
OKLCHoklch(59.81% 0.218 312.7)
XYZxyz(31.8960, 18.6183, 68.2296)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ADA #79DA4A
analogous
#634ADA #AB4ADA #DA4AC1
triadic
#AB4ADA #DAAB4A #4ADAAB
tetradic
#AB4ADA #DA634A #79DA4A #4AC1DA
square
#AB4ADA #DA634A #79DA4A #4AC1DA
split-complementary
#AB4ADA #C1DA4A #4ADA63
monochromatic
#681D8D #8E27C0 #AB4ADA #C37DE4 #DAB0EF

Accessibility & contrast

On white

4.45
#AB4ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AB4ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ADA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ADA#FFFFFF#000000##000000
##AB4ADA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#A6678C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ada;
/* rgb */ color: rgb(171, 74, 218);
/* oklch */ color: oklch(59.8% 0.218 312.7);
Tailwind
colors: {
  custom: {
    50: '#c883e6',
    500: '#ab4ada',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ada;
$custom-light: #c883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ada",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 280.417,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.2182,
    "h": 312.7
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#AB4ADA
secondary
#B6DDA3
accent
#E93F76
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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