#AB4AD5#AB4AD5

#AB4AD5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.213 H 314.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4AD5
RGBrgb(171, 74, 213)
HSLhsl(282, 62%, 56%)
HSVhsv(282, 65%, 84%)
CMYKcmyk(19.7%, 65.3%, 0%, 16.5%)
CIE-LABlab(49.93, 60.92, -54.59)
CIE-LCHlch(49.93, 81.80, 318.14°)
OKLaboklab(59.49% 0.1481 -0.1536)
OKLCHoklch(59.49% 0.213 314)
XYZxyz(31.2516, 18.3606, 64.8356)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AD5 #74D54A
analogous
#664AD5 #AB4AD5 #D54AB9
triadic
#AB4AD5 #D5AB4A #4AD5AB
tetradic
#AB4AD5 #D5664A #74D54A #4AB9D5
square
#AB4AD5 #D5664A #74D54A #4AB9D5
split-complementary
#AB4AD5 #B9D54A #4AD566
monochromatic
#671F86 #8D2BB7 #AB4AD5 #C27CE1 #D9ADEC

Accessibility & contrast

On white

4.49
#AB4AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AB4AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AD5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AD5#FFFFFF#000000##000000
##AB4AD51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4379D2
Tritanopia (blue-blind)
#A76589
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4ad5;
/* rgb */ color: rgb(171, 74, 213);
/* oklch */ color: oklch(59.5% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#c883e3',
    500: '#ab4ad5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ad5;
$custom-light: #c883e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ad5",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 281.871,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.21337,
    "h": 314
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#AB4AD5
secondary
#B2DAA1
accent
#E54274
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB4AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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