#AB9FFE#AB9FFE

#AB9FFE is a light, vivid blue. Relative luminance 0.406; OKLCH L 75.0% C 0.135 H 288.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AB9FFE
RGBrgb(171, 159, 254)
HSLhsl(248, 98%, 81%)
HSVhsv(248, 37%, 100%)
CMYKcmyk(32.7%, 37.4%, 0%, 0.4%)
CIE-LABlab(69.90, 25.34, -45.72)
CIE-LCHlch(69.90, 52.27, 299.00°)
OKLaboklab(75.04% 0.0428 -0.1279)
OKLCHoklch(75.04% 0.135 288.5)
XYZxyz(47.0774, 40.6088, 99.1046)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FFE #F2FE9F
analogous
#9FC2FE #AB9FFE #DA9FFE
triadic
#AB9FFE #FEAB9F #9FFEAB
tetradic
#AB9FFE #FE9FC2 #F2FE9F #9FFEDA
square
#AB9FFE #FE9FC2 #F2FE9F #9FFEDA
split-complementary
#AB9FFE #FEDA9F #C2FE9F
monochromatic
#4126FD #7662FD #AB9FFE #E0DCFF #E5E1FF

Accessibility & contrast

On white

2.30
#AB9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AB9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FFE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FFE#FFFFFF#000000##000000
##AB9FFE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#97B1C3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ab9ffe;
/* rgb */ color: rgb(171, 159, 254);
/* oklch */ color: oklch(75.0% 0.135 288.5);
Tailwind
colors: {
  custom: {
    50: '#c6bbff',
    500: '#ab9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ffe;
$custom-light: #c6bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ffe",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 247.579,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75039,
    "c": 0.1349,
    "h": 288.5
  },
  "luminance": 0.4061
}

Semantic roles & 50–950 ramp

primary
#AB9FFE
secondary
#F3F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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