#AB4ED3#AB4ED3

#AB4ED3 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.206 H 314.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB4ED3
RGBrgb(171, 78, 211)
HSLhsl(282, 60%, 57%)
HSVhsv(282, 63%, 83%)
CMYKcmyk(19%, 63%, 0%, 17.3%)
CIE-LABlab(50.47, 58.70, -52.59)
CIE-LCHlch(50.47, 78.81, 318.14°)
OKLaboklab(59.83% 0.1436 -0.1477)
OKLCHoklch(59.83% 0.206 314.2)
XYZxyz(31.2749, 18.8108, 63.5988)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ED3 #76D34E
analogous
#694ED3 #AB4ED3 #D34EB9
triadic
#AB4ED3 #D3AB4E #4ED3AB
tetradic
#AB4ED3 #D3694E #76D34E #4EB9D3
square
#AB4ED3 #D3694E #76D34E #4EB9D3
split-complementary
#AB4ED3 #B9D34E #4ED369
monochromatic
#672185 #8D2DB6 #AB4ED3 #C27FDF #DAB0EB

Accessibility & contrast

On white

4.41
#AB4ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AB4ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ED3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ED3#FFFFFF#000000##000000
##AB4ED31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1773D7
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#A8678A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ed3;
/* rgb */ color: rgb(171, 78, 211);
/* oklch */ color: oklch(59.8% 0.206 314.2);
Tailwind
colors: {
  custom: {
    50: '#c785e1',
    500: '#ab4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ed3;
$custom-light: #c785e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ed3",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 281.955,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.20604,
    "h": 314.2
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#AB4ED3
secondary
#B4DAA3
accent
#E34474
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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