#AB5AEE#AB5AEE

#AB5AEE is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.217 H 306.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB5AEE
RGBrgb(171, 90, 238)
HSLhsl(273, 81%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(28.2%, 62.2%, 0%, 6.7%)
CIE-LABlab(54.18, 58.87, -61.89)
CIE-LCHlch(54.18, 85.41, 313.57°)
OKLaboklab(63.04% 0.1287 -0.1751)
OKLCHoklch(63.04% 0.217 306.3)
XYZxyz(35.8801, 22.1436, 83.2563)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AEE #9DEE5A
analogous
#615AEE #AB5AEE #EE5AE7
triadic
#AB5AEE #EEAB5A #5AEEAB
tetradic
#AB5AEE #EE615A #9DEE5A #5AE7EE
square
#AB5AEE #EE615A #9DEE5A #5AE7EE
split-complementary
#AB5AEE #E7EE5A #5AEE61
monochromatic
#6F13BA #8F23E8 #AB5AEE #C791F4 #E3C9F9

Accessibility & contrast

On white

3.87
#AB5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AB5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AEE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AEE#FFFFFF#000000##000000
##AB5AEE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#3A82EB
Tritanopia (blue-blind)
#A0789C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5aee;
/* rgb */ color: rgb(171, 90, 238);
/* oklch */ color: oklch(63.0% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#c88df4',
    500: '#ab5aee',
    950: '#000000',
  },
}
SCSS
$custom: #ab5aee;
$custom-light: #c88df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5aee",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 272.838,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63044,
    "c": 0.21729,
    "h": 306.3
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#AB5AEE
secondary
#CFECB8
accent
#DE0869
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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