#AB9EFE#AB9EFE

#AB9EFE is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.9% C 0.136 H 288.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#AB9EFE
RGBrgb(171, 158, 254)
HSLhsl(248, 98%, 81%)
HSVhsv(248, 38%, 100%)
CMYKcmyk(32.7%, 37.8%, 0%, 0.4%)
CIE-LABlab(69.66, 25.91, -46.10)
CIE-LCHlch(69.66, 52.88, 299.33°)
OKLaboklab(74.86% 0.0441 -0.129)
OKLCHoklch(74.86% 0.136 288.9)
XYZxyz(46.9061, 40.2663, 99.0475)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9EFE #F1FE9E
analogous
#9EC1FE #AB9EFE #DB9EFE
triadic
#AB9EFE #FEAB9E #9EFEAB
tetradic
#AB9EFE #FE9EC1 #F1FE9E #9EFEDB
square
#AB9EFE #FE9EC1 #F1FE9E #9EFEDB
split-complementary
#AB9EFE #FEDB9E #C1FE9E
monochromatic
#4225FD #7761FD #AB9EFE #DFDBFF #E5E1FF

Accessibility & contrast

On white

2.32
#AB9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#AB9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9EFE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9EFE#FFFFFF#000000##000000
##AB9EFE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#81A8FC
Tritanopia (blue-blind)
#97B0C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ab9efe;
/* rgb */ color: rgb(171, 158, 254);
/* oklch */ color: oklch(74.9% 0.136 288.9);
Tailwind
colors: {
  custom: {
    50: '#c6baff',
    500: '#ab9efe',
    950: '#000000',
  },
}
SCSS
$custom: #ab9efe;
$custom-light: #c6baff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9efe",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 248.125,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74855,
    "c": 0.13636,
    "h": 288.9
  },
  "luminance": 0.40267
}

Semantic roles & 50–950 ramp

primary
#AB9EFE
secondary
#F2F7D4
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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