#AB4AE1#AB4AE1

#AB4AE1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.3% C 0.225 H 310.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE1
RGBrgb(171, 74, 225)
HSLhsl(279, 72%, 59%)
HSVhsv(279, 67%, 88%)
CMYKcmyk(24%, 67.1%, 0%, 11.8%)
CIE-LABlab(50.68, 63.42, -60.21)
CIE-LCHlch(50.68, 87.44, 316.49°)
OKLaboklab(60.26% 0.1473 -0.17)
OKLCHoklch(60.26% 0.225 310.9)
XYZxyz(32.8314, 18.9925, 73.1560)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE1 #80E14A
analogous
#5F4AE1 #AB4AE1 #E14ACB
triadic
#AB4AE1 #E1AB4A #4AE1AB
tetradic
#AB4AE1 #E15F4A #80E14A #4ACBE1
square
#AB4AE1 #E15F4A #80E14A #4ACBE1
split-complementary
#AB4AE1 #CBE14A #4AE15F
monochromatic
#6A1997 #8F22CC #AB4AE1 #C37EEA #DCB3F2

Accessibility & contrast

On white

4.38
#AB4AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB4AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE1#FFFFFF#000000##000000
##AB4AE11.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#367ADE
Tritanopia (blue-blind)
#A46A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ae1;
/* rgb */ color: rgb(171, 74, 225);
/* oklch */ color: oklch(60.3% 0.225 310.9);
Tailwind
colors: {
  custom: {
    50: '#c883eb',
    500: '#ab4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae1;
$custom-light: #c883eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae1",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 278.543,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.22499,
    "h": 310.9
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#AB4AE1
secondary
#BBE1A6
accent
#EE397A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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