#AB9DF2#AB9DF2

#AB9DF2 is a light, vivid blue. Relative luminance 0.392; OKLCH L 74.1% C 0.121 H 290.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AB9DF2
RGBrgb(171, 157, 242)
HSLhsl(250, 77%, 78%)
HSVhsv(250, 35%, 95%)
CMYKcmyk(29.3%, 35.1%, 0%, 5.1%)
CIE-LABlab(68.88, 23.46, -40.78)
CIE-LCHlch(68.88, 47.05, 299.91°)
OKLaboklab(74.09% 0.0429 -0.1136)
OKLCHoklch(74.09% 0.121 290.7)
XYZxyz(44.8745, 39.1818, 89.1858)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DF2 #E4F29D
analogous
#9DB9F2 #AB9DF2 #D59DF2
triadic
#AB9DF2 #F2AB9D #9DF2AB
tetradic
#AB9DF2 #F29DB9 #E4F29D #9DF2D5
square
#AB9DF2 #F29DB9 #E4F29D #9DF2D5
split-complementary
#AB9DF2 #F2D59D #B9F29D
monochromatic
#4E31E4 #7D67EB #AB9DF2 #D9D3F9 #E8E4FB

Accessibility & contrast

On white

2.38
#AB9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AB9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DF2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DF2#FFFFFF#000000##000000
##AB9DF21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#9BACBC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ab9df2;
/* rgb */ color: rgb(171, 157, 242);
/* oklch */ color: oklch(74.1% 0.121 290.7);
Tailwind
colors: {
  custom: {
    50: '#c6baf6',
    500: '#ab9df2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9df2;
$custom-light: #c6baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9df2",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 249.882,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74087,
    "c": 0.12146,
    "h": 290.7
  },
  "luminance": 0.39183
}

Semantic roles & 50–950 ramp

primary
#AB9DF2
secondary
#EFF3D8
accent
#D90DB7
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AB9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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