#AB4CCD#AB4CCD

#AB4CCD is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.203 H 316.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB4CCD
RGBrgb(171, 76, 205)
HSLhsl(284, 56%, 55%)
HSVhsv(284, 63%, 80%)
CMYKcmyk(16.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(49.78, 58.39, -50.25)
CIE-LCHlch(49.78, 77.03, 319.29°)
OKLaboklab(59.23% 0.1461 -0.1409)
OKLCHoklch(59.23% 0.203 316)
XYZxyz(30.3968, 18.2357, 59.6644)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CCD #6ECD4C
analogous
#6A4CCD #AB4CCD #CD4CAF
triadic
#AB4CCD #CDAB4C #4CCDAB
tetradic
#AB4CCD #CD6A4C #6ECD4C #4CAFCD
square
#AB4CCD #CD6A4C #6ECD4C #4CAFCD
split-complementary
#AB4CCD #AFCD4C #4CCD6A
monochromatic
#64237C #8B30AC #AB4CCD #C17CDA #D8ACE8

Accessibility & contrast

On white

4.52
#AB4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AB4CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CCD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CCD#FFFFFF#000000##000000
##AB4CCD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#A96386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4ccd;
/* rgb */ color: rgb(171, 76, 205);
/* oklch */ color: oklch(59.2% 0.203 316.0);
Tailwind
colors: {
  custom: {
    50: '#c784dd',
    500: '#ab4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ccd;
$custom-light: #c784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ccd",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 284.186,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.20294,
    "h": 316
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#AB4CCD
secondary
#AED59F
accent
#E04870
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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