#AB9EFF#AB9EFF

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

Color values

HEX#AB9EFF
RGBrgb(171, 158, 255)
HSLhsl(248, 100%, 81%)
HSVhsv(248, 38%, 100%)
CMYKcmyk(32.9%, 38%, 0%, 0%)
CIE-LABlab(69.70, 26.16, -46.57)
CIE-LCHlch(69.70, 53.41, 299.32°)
OKLaboklab(74.9% 0.0443 -0.1304)
OKLCHoklch(74.9% 0.138 288.8)
XYZxyz(47.0667, 40.3305, 99.8931)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9EFF #F2FF9E
analogous
#9EC1FF #AB9EFF #DB9EFF
triadic
#AB9EFF #FFAB9E #9EFFAB
tetradic
#AB9EFF #FF9EC1 #F2FF9E #9EFFDB
square
#AB9EFF #FF9EC1 #F2FF9E #9EFFDB
split-complementary
#AB9EFF #FFDB9E #C1FF9E
monochromatic
#4124FF #7661FF #AB9EFF #E0DBFF #E5E0FF

Accessibility & contrast

On white

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

On black

9.07
#AB9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9EFF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9EFF#FFFFFF#000000##000000
##AB9EFF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#80A8FD
Tritanopia (blue-blind)
#96B0C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ab9eff;
/* rgb */ color: rgb(171, 158, 255);
/* oklch */ color: oklch(74.9% 0.138 288.8);
Tailwind
colors: {
  custom: {
    50: '#c6baff',
    500: '#ab9eff',
    950: '#000000',
  },
}
SCSS
$custom: #ab9eff;
$custom-light: #c6baff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9eff",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 248.041,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.13772,
    "h": 288.8
  },
  "luminance": 0.40332
}

Semantic roles & 50–950 ramp

primary
#AB9EFF
secondary
#F3F7D4
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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