#AB91EE#AB91EE

#AB91EE is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.7% C 0.134 H 295.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AB91EE
RGBrgb(171, 145, 238)
HSLhsl(257, 73%, 75%)
HSVhsv(257, 39%, 93%)
CMYKcmyk(28.2%, 39.1%, 0%, 6.7%)
CIE-LABlab(65.81, 29.25, -43.40)
CIE-LCHlch(65.81, 52.34, 303.98°)
OKLaboklab(71.69% 0.0583 -0.1212)
OKLCHoklch(71.69% 0.134 295.7)
XYZxyz(42.3489, 35.0812, 85.4126)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91EE #D4EE91
analogous
#91A6EE #AB91EE #D991EE
triadic
#AB91EE #EEAB91 #91EEAB
tetradic
#AB91EE #EE91A6 #D4EE91 #91EED9
square
#AB91EE #EE91A6 #D4EE91 #91EED9
split-complementary
#AB91EE #EED991 #A6EE91
monochromatic
#5A27DE #835CE6 #AB91EE #D3C6F6 #EBE4FB

Accessibility & contrast

On white

2.62
#AB91EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AB91EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91EE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91EE#FFFFFF#000000##000000
##AB91EE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#9DA1B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab91ee;
/* rgb */ color: rgb(171, 145, 238);
/* oklch */ color: oklch(71.7% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#c6b1f4',
    500: '#ab91ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ee;
$custom-light: #c6b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ee",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 256.774,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.13448,
    "h": 295.7
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#AB91EE
secondary
#EBF3D8
accent
#D5109E
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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