#AB9AEE#AB9AEE

#AB9AEE is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.3% C 0.121 H 292.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AB9AEE
RGBrgb(171, 154, 238)
HSLhsl(252, 71%, 77%)
HSVhsv(252, 35%, 93%)
CMYKcmyk(28.2%, 35.3%, 0%, 6.7%)
CIE-LABlab(67.98, 24.17, -40.01)
CIE-LCHlch(67.98, 46.74, 301.14°)
OKLaboklab(73.34% 0.0461 -0.1114)
OKLCHoklch(73.34% 0.121 292.5)
XYZxyz(43.7790, 37.9415, 85.8893)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9AEE #DDEE9A
analogous
#9AB3EE #AB9AEE #D59AEE
triadic
#AB9AEE #EEAB9A #9AEEAB
tetradic
#AB9AEE #EE9AB3 #DDEE9A #9AEED5
square
#AB9AEE #EE9AB3 #DDEE9A #9AEED5
split-complementary
#AB9AEE #EED59A #B3EE9A
monochromatic
#5431DC #7F66E5 #AB9AEE #D7CEF7 #E9E5FB

Accessibility & contrast

On white

2.45
#AB9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AB9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9AEE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9AEE#FFFFFF#000000##000000
##AB9AEE1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#9CA9B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab9aee;
/* rgb */ color: rgb(171, 154, 238);
/* oklch */ color: oklch(73.3% 0.121 292.5);
Tailwind
colors: {
  custom: {
    50: '#c6b7f4',
    500: '#ab9aee',
    950: '#000000',
  },
}
SCSS
$custom: #ab9aee;
$custom-light: #c6b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9aee",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 252.143,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73338,
    "c": 0.12054,
    "h": 292.5
  },
  "luminance": 0.37942
}

Semantic roles & 50–950 ramp

primary
#AB9AEE
secondary
#EDF2D9
accent
#D312AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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