#AB4DCE#AB4DCE

#AB4DCE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.203 H 315.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB4DCE
RGBrgb(171, 77, 206)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 63%, 81%)
CMYKcmyk(17%, 62.6%, 0%, 19.2%)
CIE-LABlab(50.01, 58.13, -50.46)
CIE-LCHlch(50.01, 76.98, 319.04°)
OKLaboklab(59.41% 0.1449 -0.1415)
OKLCHoklch(59.41% 0.203 315.7)
XYZxyz(30.5873, 18.4230, 60.3253)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DCE #70CE4D
analogous
#6A4DCE #AB4DCE #CE4DB0
triadic
#AB4DCE #CEAB4D #4DCEAB
tetradic
#AB4DCE #CE6A4D #70CE4D #4DB0CE
square
#AB4DCE #CE6A4D #70CE4D #4DB0CE
split-complementary
#AB4DCE #B0CE4D #4DCE6A
monochromatic
#65237E #8C30AE #AB4DCE #C27DDB #D8ADE8

Accessibility & contrast

On white

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

On black

4.68
#AB4DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DCE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DCE#FFFFFF#000000##000000
##AB4DCE1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#A96487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4dce;
/* rgb */ color: rgb(171, 77, 206);
/* oklch */ color: oklch(59.4% 0.203 315.7);
Tailwind
colors: {
  custom: {
    50: '#c784dd',
    500: '#ab4dce',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dce;
$custom-light: #c784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dce",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 283.721,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.20253,
    "h": 315.7
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#AB4DCE
secondary
#AFD6A1
accent
#E04871
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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