#AB4ED0#AB4ED0

#AB4ED0 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.203 H 315.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB4ED0
RGBrgb(171, 78, 208)
HSLhsl(283, 58%, 56%)
HSVhsv(283, 63%, 82%)
CMYKcmyk(17.8%, 62.5%, 0%, 18.4%)
CIE-LABlab(50.29, 58.08, -51.15)
CIE-LCHlch(50.29, 77.40, 318.63°)
OKLaboklab(59.65% 0.1437 -0.1435)
OKLCHoklch(59.65% 0.203 315)
XYZxyz(30.9023, 18.6618, 61.6365)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ED0 #73D04E
analogous
#6A4ED0 #AB4ED0 #D04EB4
triadic
#AB4ED0 #D0AB4E #4ED0AB
tetradic
#AB4ED0 #D06A4E #73D04E #4EB4D0
square
#AB4ED0 #D06A4E #73D04E #4EB4D0
split-complementary
#AB4ED0 #B4D04E #4ED06A
monochromatic
#662281 #8C2FB2 #AB4ED0 #C27EDD #D9AFEA

Accessibility & contrast

On white

4.44
#AB4ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AB4ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ED0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ED0#FFFFFF#000000##000000
##AB4ED01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D4
Deuteranopia (green-blind)
#4C7ACD
Tritanopia (blue-blind)
#A86688
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ed0;
/* rgb */ color: rgb(171, 78, 208);
/* oklch */ color: oklch(59.7% 0.203 315.0);
Tailwind
colors: {
  custom: {
    50: '#c785df',
    500: '#ab4ed0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ed0;
$custom-light: #c785df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ed0",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 208
  },
  "hsl": {
    "h": 282.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.2031,
    "h": 315
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#AB4ED0
secondary
#B1D8A2
accent
#E14773
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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