#AB4DE0#AB4DE0

#AB4DE0 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.220 H 310.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB4DE0
RGBrgb(171, 77, 224)
HSLhsl(278, 70%, 59%)
HSVhsv(278, 66%, 88%)
CMYKcmyk(23.7%, 65.6%, 0%, 12.2%)
CIE-LABlab(51.09, 61.88, -58.98)
CIE-LCHlch(51.09, 85.48, 316.38°)
OKLaboklab(60.54% 0.1442 -0.1664)
OKLCHoklch(60.54% 0.22 310.9)
XYZxyz(32.9005, 19.3483, 72.5080)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DE0 #82E04D
analogous
#624DE0 #AB4DE0 #E04DCC
triadic
#AB4DE0 #E0AB4D #4DE0AB
tetradic
#AB4DE0 #E0624D #82E04D #4DCCE0
square
#AB4DE0 #E0624D #82E04D #4DCCE0
split-complementary
#AB4DE0 #CCE04D #4DE062
monochromatic
#6B1A98 #8F24CC #AB4DE0 #C481E9 #DCB5F2

Accessibility & contrast

On white

4.31
#AB4DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AB4DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DE0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DE0#FFFFFF#000000##000000
##AB4DE01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#3B7BDD
Tritanopia (blue-blind)
#A46B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4de0;
/* rgb */ color: rgb(171, 77, 224);
/* oklch */ color: oklch(60.5% 0.220 310.9);
Tailwind
colors: {
  custom: {
    50: '#c885ea',
    500: '#ab4de0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4de0;
$custom-light: #c885ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4de0",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 278.367,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.22019,
    "h": 310.9
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#AB4DE0
secondary
#BCE1A8
accent
#ED3B7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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