#AB4DCC#AB4DCC

#AB4DCC is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.3% C 0.201 H 316.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4DCC
RGBrgb(171, 77, 204)
HSLhsl(284, 55%, 55%)
HSVhsv(284, 62%, 80%)
CMYKcmyk(16.2%, 62.3%, 0%, 20%)
CIE-LABlab(49.89, 57.73, -49.50)
CIE-LCHlch(49.89, 76.04, 319.39°)
OKLaboklab(59.29% 0.1449 -0.1387)
OKLCHoklch(59.29% 0.201 316.3)
XYZxyz(30.3459, 18.3264, 59.0539)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DCC #6ECC4D
analogous
#6B4DCC #AB4DCC #CC4DAE
triadic
#AB4DCC #CCAB4D #4DCCAB
tetradic
#AB4DCC #CC6B4D #6ECC4D #4DAECC
square
#AB4DCC #CC6B4D #6ECC4D #4DAECC
split-complementary
#AB4DCC #AECC4D #4DCC6B
monochromatic
#64237B #8B31AB #AB4DCC #C17DDA #D8ACE7

Accessibility & contrast

On white

4.50
#AB4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4DCC#FFFFFF#000000##000000
##AB4DCC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#4E79C9
Tritanopia (blue-blind)
#A96486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4dcc;
/* rgb */ color: rgb(171, 77, 204);
/* oklch */ color: oklch(59.3% 0.201 316.3);
Tailwind
colors: {
  custom: {
    50: '#c784dc',
    500: '#ab4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dcc;
$custom-light: #c784dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dcc",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 284.409,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.20058,
    "h": 316.3
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#AB4DCC
secondary
#AED5A0
accent
#DF4970
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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