#AB4AE0#AB4AE0

#AB4AE0 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.2% C 0.224 H 311.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE0
RGBrgb(171, 74, 224)
HSLhsl(279, 71%, 58%)
HSVhsv(279, 67%, 88%)
CMYKcmyk(23.7%, 67%, 0%, 12.2%)
CIE-LABlab(50.61, 63.20, -59.74)
CIE-LCHlch(50.61, 86.97, 316.61°)
OKLaboklab(60.2% 0.1474 -0.1687)
OKLCHoklch(60.2% 0.224 311.1)
XYZxyz(32.6954, 18.9381, 72.4396)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE0 #7FE04A
analogous
#604AE0 #AB4AE0 #E04ACA
triadic
#AB4AE0 #E0AB4A #4AE0AB
tetradic
#AB4AE0 #E0604A #7FE04A #4ACAE0
square
#AB4AE0 #E0604A #7FE04A #4ACAE0
split-complementary
#AB4AE0 #CAE04A #4AE060
monochromatic
#6A1A96 #8F23CA #AB4AE0 #C37EE9 #DBB3F2

Accessibility & contrast

On white

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

On black

4.79
#AB4AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE0#FFFFFF#000000##000000
##AB4AE01.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#A4698F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4ae0;
/* rgb */ color: rgb(171, 74, 224);
/* oklch */ color: oklch(60.2% 0.224 311.1);
Tailwind
colors: {
  custom: {
    50: '#c883ea',
    500: '#ab4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae0;
$custom-light: #c883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae0",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 278.8,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.22402,
    "h": 311.1
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#AB4AE0
secondary
#BAE1A5
accent
#EE3A7A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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