#AB5AE5#AB5AE5

#AB5AE5 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.208 H 308.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE5
RGBrgb(171, 90, 229)
HSLhsl(275, 73%, 63%)
HSVhsv(275, 61%, 90%)
CMYKcmyk(25.3%, 60.7%, 0%, 10.2%)
CIE-LABlab(53.63, 56.85, -57.72)
CIE-LCHlch(53.63, 81.02, 314.56°)
OKLaboklab(62.47% 0.129 -0.1628)
OKLCHoklch(62.47% 0.208 308.4)
XYZxyz(34.5908, 21.6279, 76.4659)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE5 #94E55A
analogous
#655AE5 #AB5AE5 #E55ADA
triadic
#AB5AE5 #E5AB5A #5AE5AB
tetradic
#AB5AE5 #E5655A #94E55A #5ADAE5
square
#AB5AE5 #E5655A #94E55A #5ADAE5
split-complementary
#AB5AE5 #DAE55A #5AE565
monochromatic
#6E1BAA #9025DD #AB5AE5 #C68FED #E1C4F6

Accessibility & contrast

On white

3.94
#AB5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE5#FFFFFF#000000##000000
##AB5AE51.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#187DE9
Deuteranopia (green-blind)
#4581E2
Tritanopia (blue-blind)
#A27597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ae5;
/* rgb */ color: rgb(171, 90, 229);
/* oklch */ color: oklch(62.5% 0.208 308.4);
Tailwind
colors: {
  custom: {
    50: '#c88dee',
    500: '#ab5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae5;
$custom-light: #c88dee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae5",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 274.964,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.20777,
    "h": 308.4
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#AB5AE5
secondary
#C9E7B4
accent
#D51163
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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