#AB4AE4#AB4AE4

#AB4AE4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.228 H 310.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB4AE4
RGBrgb(171, 74, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 68%, 89%)
CMYKcmyk(25%, 67.5%, 0%, 10.6%)
CIE-LABlab(50.87, 64.05, -61.59)
CIE-LCHlch(50.87, 88.86, 316.12°)
OKLaboklab(60.46% 0.147 -0.1741)
OKLCHoklch(60.46% 0.228 310.2)
XYZxyz(33.2442, 19.1576, 75.3303)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE4 #83E44A
analogous
#5E4AE4 #AB4AE4 #E44AD0
triadic
#AB4AE4 #E4AB4A #4AE4AB
tetradic
#AB4AE4 #E45E4A #83E44A #4AD0E4
square
#AB4AE4 #E45E4A #83E44A #4AD0E4
split-complementary
#AB4AE4 #D0E44A #4AE45E
monochromatic
#6B179C #901FD2 #AB4AE4 #C47FEC #DCB5F4

Accessibility & contrast

On white

4.35
#AB4AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB4AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE4#FFFFFF#000000##000000
##AB4AE41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#A36B91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ae4;
/* rgb */ color: rgb(171, 74, 228);
/* oklch */ color: oklch(60.5% 0.228 310.2);
Tailwind
colors: {
  custom: {
    50: '#c883ed',
    500: '#ab4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae4;
$custom-light: #c883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae4",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 277.792,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60462,
    "c": 0.2279,
    "h": 310.2
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#AB4AE4
secondary
#BDE3A7
accent
#F1377C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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