#AB4CD4#AB4CD4

#AB4CD4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.210 H 314.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD4
RGBrgb(171, 76, 212)
HSLhsl(282, 61%, 56%)
HSVhsv(282, 64%, 83%)
CMYKcmyk(19.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(50.19, 59.82, -53.59)
CIE-LCHlch(50.19, 80.32, 318.14°)
OKLaboklab(59.66% 0.1459 -0.1507)
OKLCHoklch(59.66% 0.21 314.1)
XYZxyz(31.2607, 18.5813, 64.2144)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD4 #75D44C
analogous
#674CD4 #AB4CD4 #D44CB9
triadic
#AB4CD4 #D4AB4C #4CD4AB
tetradic
#AB4CD4 #D4674C #75D44C #4CB9D4
square
#AB4CD4 #D4674C #75D44C #4CB9D4
split-complementary
#AB4CD4 #B9D44C #4CD467
monochromatic
#672086 #8D2CB7 #AB4CD4 #C27DE0 #D9AFEC

Accessibility & contrast

On white

4.45
#AB4CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AB4CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD4#FFFFFF#000000##000000
##AB4CD41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B72D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#A76689
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4cd4;
/* rgb */ color: rgb(171, 76, 212);
/* oklch */ color: oklch(59.7% 0.210 314.1);
Tailwind
colors: {
  custom: {
    50: '#c884e2',
    500: '#ab4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd4;
$custom-light: #c884e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd4",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 281.912,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59657,
    "c": 0.20974,
    "h": 314.1
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#AB4CD4
secondary
#B3DAA2
accent
#E44374
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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