#AB9DFD#AB9DFD

#AB9DFD is a light, vivid blue. Relative luminance 0.399; OKLCH L 74.6% C 0.136 H 289.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AB9DFD
RGBrgb(171, 157, 253)
HSLhsl(249, 96%, 80%)
HSVhsv(249, 38%, 99%)
CMYKcmyk(32.4%, 37.9%, 0%, 0.8%)
CIE-LABlab(69.37, 26.22, -46.01)
CIE-LCHlch(69.37, 52.95, 299.68°)
OKLaboklab(74.62% 0.0452 -0.1288)
OKLCHoklch(74.62% 0.136 289.3)
XYZxyz(46.5765, 39.8626, 98.1497)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DFD #EFFD9D
analogous
#9DBFFD #AB9DFD #DB9DFD
triadic
#AB9DFD #FDAB9D #9DFDAB
tetradic
#AB9DFD #FD9DBF #EFFD9D #9DFDDB
square
#AB9DFD #FD9DBF #EFFD9D #9DFDDB
split-complementary
#AB9DFD #FDDB9D #BFFD9D
monochromatic
#4425FB #7861FC #AB9DFD #DED9FE #E5E1FE

Accessibility & contrast

On white

2.34
#AB9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#AB9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DFD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DFD#FFFFFF#000000##000000
##AB9DFD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#97AFC1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9dfd;
/* rgb */ color: rgb(171, 157, 253);
/* oklch */ color: oklch(74.6% 0.136 289.3);
Tailwind
colors: {
  custom: {
    50: '#c6bafe',
    500: '#ab9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ab9dfd;
$custom-light: #c6bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9dfd",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 248.75,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.74621,
    "c": 0.13647,
    "h": 289.3
  },
  "luminance": 0.39864
}

Semantic roles & 50–950 ramp

primary
#AB9DFD
secondary
#F2F7D4
accent
#E600C4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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