#AB4BD4#AB4BD4

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

Color values

HEX#AB4BD4
RGBrgb(171, 75, 212)
HSLhsl(282, 61%, 56%)
HSVhsv(282, 65%, 83%)
CMYKcmyk(19.3%, 64.6%, 0%, 16.9%)
CIE-LABlab(50.03, 60.27, -53.85)
CIE-LCHlch(50.03, 80.82, 318.22°)
OKLaboklab(59.54% 0.1471 -0.1514)
OKLCHoklch(59.54% 0.211 314.2)
XYZxyz(31.1923, 18.4445, 64.1916)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BD4 #74D44B
analogous
#674BD4 #AB4BD4 #D44BB9
triadic
#AB4BD4 #D4AB4B #4BD4AB
tetradic
#AB4BD4 #D4674B #74D44B #4BB9D4
square
#AB4BD4 #D4674B #74D44B #4BB9D4
split-complementary
#AB4BD4 #B9D44B #4BD467
monochromatic
#672085 #8D2CB6 #AB4BD4 #C27CE0 #D9AEEC

Accessibility & contrast

On white

4.48
#AB4BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB4BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BD4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BD4#FFFFFF#000000##000000
##AB4BD41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0472D8
Deuteranopia (green-blind)
#4579D1
Tritanopia (blue-blind)
#A76589
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4bd4;
/* rgb */ color: rgb(171, 75, 212);
/* oklch */ color: oklch(59.5% 0.211 314.2);
Tailwind
colors: {
  custom: {
    50: '#c883e2',
    500: '#ab4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bd4;
$custom-light: #c883e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bd4",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 282.044,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.21109,
    "h": 314.2
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#AB4BD4
secondary
#B2DAA1
accent
#E54374
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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