#AB9FEE#AB9FEE

#AB9FEE is a light, moderate blue. Relative luminance 0.396; OKLCH L 74.3% C 0.113 H 290.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AB9FEE
RGBrgb(171, 159, 238)
HSLhsl(249, 70%, 78%)
HSVhsv(249, 33%, 93%)
CMYKcmyk(28.2%, 33.2%, 0%, 6.7%)
CIE-LABlab(69.20, 21.35, -38.09)
CIE-LCHlch(69.20, 43.67, 299.27°)
OKLaboklab(74.28% 0.0393 -0.1059)
OKLCHoklch(74.28% 0.113 290.3)
XYZxyz(44.6215, 39.6264, 86.1701)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FEE #E2EE9F
analogous
#9FBAEE #AB9FEE #D29FEE
triadic
#AB9FEE #EEAB9F #9FEEAB
tetradic
#AB9FEE #EE9FBA #E2EE9F #9FEED2
square
#AB9FEE #EE9FBA #E2EE9F #9FEED2
split-complementary
#AB9FEE #EED29F #BAEE9F
monochromatic
#5037DC #7E6BE5 #AB9FEE #D8D3F7 #E8E5FA

Accessibility & contrast

On white

2.35
#AB9FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AB9FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FEE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FEE#FFFFFF#000000##000000
##AB9FEE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#9CADBC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9fee;
/* rgb */ color: rgb(171, 159, 238);
/* oklch */ color: oklch(74.3% 0.113 290.3);
Tailwind
colors: {
  custom: {
    50: '#c5bbf4',
    500: '#ab9fee',
    950: '#000000',
  },
}
SCSS
$custom: #ab9fee;
$custom-light: #c5bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9fee",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 249.114,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.11294,
    "h": 290.3
  },
  "luminance": 0.39627
}

Semantic roles & 50–950 ramp

primary
#AB9FEE
secondary
#EEF2D9
accent
#D214B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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