#AB9BEE#AB9BEE

#AB9BEE is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.5% C 0.119 H 292.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AB9BEE
RGBrgb(171, 155, 238)
HSLhsl(252, 71%, 77%)
HSVhsv(252, 35%, 93%)
CMYKcmyk(28.2%, 34.9%, 0%, 6.7%)
CIE-LABlab(68.22, 23.60, -39.63)
CIE-LCHlch(68.22, 46.12, 300.78°)
OKLaboklab(73.52% 0.0447 -0.1103)
OKLCHoklch(73.52% 0.119 292.1)
XYZxyz(43.9447, 38.2729, 85.9445)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BEE #DEEE9B
analogous
#9BB5EE #AB9BEE #D49BEE
triadic
#AB9BEE #EEAB9B #9BEEAB
tetradic
#AB9BEE #EE9BB5 #DEEE9B #9BEED4
square
#AB9BEE #EE9BB5 #DEEE9B #9BEED4
split-complementary
#AB9BEE #EED49B #B5EE9B
monochromatic
#5332DC #7F67E5 #AB9BEE #D7CFF7 #E9E5FB

Accessibility & contrast

On white

2.43
#AB9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AB9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BEE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BEE#FFFFFF#000000##000000
##AB9BEE1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F1
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#9CAABA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ab9bee;
/* rgb */ color: rgb(171, 155, 238);
/* oklch */ color: oklch(73.5% 0.119 292.1);
Tailwind
colors: {
  custom: {
    50: '#c5b8f4',
    500: '#ab9bee',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bee;
$custom-light: #c5b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bee",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 251.566,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.11901,
    "h": 292.1
  },
  "luminance": 0.38274
}

Semantic roles & 50–950 ramp

primary
#AB9BEE
secondary
#EDF2D9
accent
#D313AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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