#AB4AE8#AB4AE8

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

Color values

HEX#AB4AE8
RGBrgb(171, 74, 232)
HSLhsl(277, 77%, 60%)
HSVhsv(277, 68%, 91%)
CMYKcmyk(26.3%, 68.1%, 0%, 9%)
CIE-LABlab(51.13, 64.90, -63.43)
CIE-LCHlch(51.13, 90.75, 315.66°)
OKLaboklab(60.73% 0.1466 -0.1795)
OKLCHoklch(60.73% 0.232 309.2)
XYZxyz(33.8059, 19.3823, 78.2886)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE8 #87E84A
analogous
#5C4AE8 #AB4AE8 #E84AD6
triadic
#AB4AE8 #E8AB4A #4AE8AB
tetradic
#AB4AE8 #E85C4A #87E84A #4AD6E8
square
#AB4AE8 #E85C4A #87E84A #4AD6E8
split-complementary
#AB4AE8 #D6E84A #4AE85C
monochromatic
#6C15A3 #901CD9 #AB4AE8 #C480EF #DDB7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4AE8#FFFFFF#000000##000000
##AB4AE81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#A26C94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4ae8;
/* rgb */ color: rgb(171, 74, 232);
/* oklch */ color: oklch(60.7% 0.232 309.2);
Tailwind
colors: {
  custom: {
    50: '#c984f0',
    500: '#ab4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae8;
$custom-light: #c984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae8",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 276.835,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.23179,
    "h": 309.2
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#AB4AE8
secondary
#C0E5A8
accent
#F4347E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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