#AB4ED5#AB4ED5

#AB4ED5 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.208 H 313.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4ED5
RGBrgb(171, 78, 213)
HSLhsl(281, 62%, 57%)
HSVhsv(281, 63%, 84%)
CMYKcmyk(19.7%, 63.4%, 0%, 16.5%)
CIE-LABlab(50.58, 59.12, -53.54)
CIE-LCHlch(50.58, 79.76, 317.83°)
OKLaboklab(59.96% 0.1436 -0.1505)
OKLCHoklch(59.96% 0.208 313.6)
XYZxyz(31.5272, 18.9117, 64.9275)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ED5 #78D54E
analogous
#674ED5 #AB4ED5 #D54EBC
triadic
#AB4ED5 #D5AB4E #4ED5AB
tetradic
#AB4ED5 #D5674E #78D54E #4EBCD5
square
#AB4ED5 #D5674E #78D54E #4EBCD5
split-complementary
#AB4ED5 #BCD54E #4ED567
monochromatic
#682088 #8E2CBA #AB4ED5 #C27FE1 #DAB1EC

Accessibility & contrast

On white

4.39
#AB4ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB4ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ED5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ED5#FFFFFF#000000##000000
##AB4ED51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1273D9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#A7688B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ed5;
/* rgb */ color: rgb(171, 78, 213);
/* oklch */ color: oklch(60.0% 0.208 313.6);
Tailwind
colors: {
  custom: {
    50: '#c885e2',
    500: '#ab4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ed5;
$custom-light: #c885e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ed5",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 281.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.20802,
    "h": 313.6
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#AB4ED5
secondary
#B5DBA4
accent
#E54375
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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