#AB4BD5#AB4BD5

#AB4BD5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.212 H 313.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4BD5
RGBrgb(171, 75, 213)
HSLhsl(282, 62%, 56%)
HSVhsv(282, 65%, 84%)
CMYKcmyk(19.7%, 64.8%, 0%, 16.5%)
CIE-LABlab(50.09, 60.47, -54.33)
CIE-LCHlch(50.09, 81.29, 318.06°)
OKLaboklab(59.6% 0.147 -0.1528)
OKLCHoklch(59.6% 0.212 313.9)
XYZxyz(31.3189, 18.4951, 64.8580)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BD5 #75D54B
analogous
#664BD5 #AB4BD5 #D54BBA
triadic
#AB4BD5 #D5AB4B #4BD5AB
tetradic
#AB4BD5 #D5664B #75D54B #4BBAD5
square
#AB4BD5 #D5664B #75D54B #4BBAD5
split-complementary
#AB4BD5 #BAD54B #4BD566
monochromatic
#671F86 #8D2BB8 #AB4BD5 #C27DE1 #D9AEEC

Accessibility & contrast

On white

4.47
#AB4BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AB4BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BD5#FFFFFF#000000##000000
##AB4BD51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#A7668A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4bd5;
/* rgb */ color: rgb(171, 75, 213);
/* oklch */ color: oklch(59.6% 0.212 313.9);
Tailwind
colors: {
  custom: {
    50: '#c884e3',
    500: '#ab4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bd5;
$custom-light: #c884e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bd5",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 281.739,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.21205,
    "h": 313.9
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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