#AB9FFB#AB9FFB

#AB9FFB is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.9% C 0.131 H 288.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AB9FFB
RGBrgb(171, 159, 251)
HSLhsl(248, 92%, 80%)
HSVhsv(248, 37%, 98%)
CMYKcmyk(31.9%, 36.7%, 0%, 1.6%)
CIE-LABlab(69.77, 24.58, -44.30)
CIE-LCHlch(69.77, 50.66, 299.03°)
OKLaboklab(74.89% 0.0422 -0.1238)
OKLCHoklch(74.89% 0.131 288.8)
XYZxyz(46.6007, 40.4181, 96.5943)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FFB #EFFB9F
analogous
#9FC1FB #AB9FFB #D99FFB
triadic
#AB9FFB #FBAB9F #9FFBAB
tetradic
#AB9FFB #FB9FC1 #EFFB9F #9FFBD9
square
#AB9FFB #FB9FC1 #EFFB9F #9FFBD9
split-complementary
#AB9FFB #FBD99F #C1FB9F
monochromatic
#4429F6 #7864F9 #AB9FFB #DEDAFD #E5E2FE

Accessibility & contrast

On white

2.31
#AB9FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AB9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FFB
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FFB#FFFFFF#000000##000000
##AB9FFB1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#98B0C1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ab9ffb;
/* rgb */ color: rgb(171, 159, 251);
/* oklch */ color: oklch(74.9% 0.131 288.8);
Tailwind
colors: {
  custom: {
    50: '#c6bbfd',
    500: '#ab9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ffb;
$custom-light: #c6bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ffb",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 247.826,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.13081,
    "h": 288.8
  },
  "luminance": 0.40419
}

Semantic roles & 50–950 ramp

primary
#AB9FFB
secondary
#F2F6D5
accent
#E600C8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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