#AB9DFF#AB9DFF

#AB9DFF is a light, vivid blue. Relative luminance 0.400; OKLCH L 74.7% C 0.139 H 289.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AB9DFF
RGBrgb(171, 157, 255)
HSLhsl(249, 100%, 81%)
HSVhsv(249, 38%, 100%)
CMYKcmyk(32.9%, 38.4%, 0%, 0%)
CIE-LABlab(69.46, 26.72, -46.95)
CIE-LCHlch(69.46, 54.02, 299.65°)
OKLaboklab(74.72% 0.0456 -0.1315)
OKLCHoklch(74.72% 0.139 289.1)
XYZxyz(46.8968, 39.9907, 99.8365)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DFF #F1FF9D
analogous
#9DC0FF #AB9DFF #DC9DFF
triadic
#AB9DFF #FFAB9D #9DFFAB
tetradic
#AB9DFF #FF9DC0 #F1FF9D #9DFFDC
square
#AB9DFF #FF9DC0 #F1FF9D #9DFFDC
split-complementary
#AB9DFF #FFDC9D #C0FF9D
monochromatic
#4223FF #7760FF #AB9DFF #DFDAFF #E5E0FF

Accessibility & contrast

On white

2.33
#AB9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AB9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DFF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DFF#FFFFFF#000000##000000
##AB9DFF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#7FA7FD
Tritanopia (blue-blind)
#96AFC2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ab9dff;
/* rgb */ color: rgb(171, 157, 255);
/* oklch */ color: oklch(74.7% 0.139 289.1);
Tailwind
colors: {
  custom: {
    50: '#c6baff',
    500: '#ab9dff',
    950: '#000000',
  },
}
SCSS
$custom: #ab9dff;
$custom-light: #c6baff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9dff",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 248.571,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7472,
    "c": 0.13919,
    "h": 289.1
  },
  "luminance": 0.39992
}

Semantic roles & 50–950 ramp

primary
#AB9DFF
secondary
#F2F7D4
accent
#E600C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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