#AB4DE1#AB4DE1

#AB4DE1 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.221 H 310.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB4DE1
RGBrgb(171, 77, 225)
HSLhsl(278, 71%, 59%)
HSVhsv(278, 66%, 88%)
CMYKcmyk(24%, 65.8%, 0%, 11.8%)
CIE-LABlab(51.16, 62.09, -59.44)
CIE-LCHlch(51.16, 85.95, 316.25°)
OKLaboklab(60.6% 0.1441 -0.1678)
OKLCHoklch(60.6% 0.221 310.6)
XYZxyz(33.0365, 19.4027, 73.2243)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DE1 #83E14D
analogous
#614DE1 #AB4DE1 #E14DCD
triadic
#AB4DE1 #E1AB4D #4DE1AB
tetradic
#AB4DE1 #E1614D #83E14D #4DCDE1
square
#AB4DE1 #E1614D #83E14D #4DCDE1
split-complementary
#AB4DE1 #CDE14D #4DE161
monochromatic
#6B1A9A #9023CE #AB4DE1 #C481EA #DCB6F3

Accessibility & contrast

On white

4.30
#AB4DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB4DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DE1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DE1#FFFFFF#000000##000000
##AB4DE11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3A7BDE
Tritanopia (blue-blind)
#A46B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4de1;
/* rgb */ color: rgb(171, 77, 225);
/* oklch */ color: oklch(60.6% 0.221 310.6);
Tailwind
colors: {
  custom: {
    50: '#c885eb',
    500: '#ab4de1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4de1;
$custom-light: #c885eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4de1",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 278.108,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.22118,
    "h": 310.6
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#AB4DE1
secondary
#BDE2A8
accent
#EE3A7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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