#AB4AE5#AB4AE5

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

Color values

HEX#AB4AE5
RGBrgb(171, 74, 229)
HSLhsl(278, 75%, 59%)
HSVhsv(278, 68%, 90%)
CMYKcmyk(25.3%, 67.7%, 0%, 10.2%)
CIE-LABlab(50.94, 64.26, -62.05)
CIE-LCHlch(50.94, 89.33, 316.00°)
OKLaboklab(60.53% 0.1469 -0.1755)
OKLCHoklch(60.53% 0.229 309.9)
XYZxyz(33.3835, 19.2133, 76.0635)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AE5 #84E54A
analogous
#5E4AE5 #AB4AE5 #E54AD2
triadic
#AB4AE5 #E5AB4A #4AE5AB
tetradic
#AB4AE5 #E55E4A #84E54A #4AD2E5
square
#AB4AE5 #E55E4A #84E54A #4AD2E5
split-complementary
#AB4AE5 #D2E54A #4AE55E
monochromatic
#6B179E #901ED3 #AB4AE5 #C480ED #DDB5F4

Accessibility & contrast

On white

4.34
#AB4AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB4AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AE5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AE5#FFFFFF#000000##000000
##AB4AE51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#A36B92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ae5;
/* rgb */ color: rgb(171, 74, 229);
/* oklch */ color: oklch(60.5% 0.229 309.9);
Tailwind
colors: {
  custom: {
    50: '#c883ee',
    500: '#ab4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ae5;
$custom-light: #c883ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ae5",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 277.548,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.22887,
    "h": 309.9
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#AB4AE5
secondary
#BEE4A7
accent
#F1367C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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