#AB9DF6#AB9DF6

#AB9DF6 is a light, vivid blue. Relative luminance 0.394; OKLCH L 74.3% C 0.127 H 290.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AB9DF6
RGBrgb(171, 157, 246)
HSLhsl(249, 83%, 79%)
HSVhsv(249, 36%, 96%)
CMYKcmyk(30.5%, 36.2%, 0%, 3.5%)
CIE-LABlab(69.06, 24.46, -42.69)
CIE-LCHlch(69.06, 49.20, 299.81°)
OKLaboklab(74.28% 0.0438 -0.1191)
OKLCHoklch(74.28% 0.127 290.2)
XYZxyz(45.4818, 39.4247, 92.3844)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9DF6 #E8F69D
analogous
#9DBCF6 #AB9DF6 #D89DF6
triadic
#AB9DF6 #F6AB9D #9DF6AB
tetradic
#AB9DF6 #F69DBC #E8F69D #9DF6D8
square
#AB9DF6 #F69DBC #E8F69D #9DF6D8
split-complementary
#AB9DF6 #F6D89D #BCF69D
monochromatic
#4B2DEC #7B65F1 #AB9DF6 #DBD5FB #E7E3FC

Accessibility & contrast

On white

2.36
#AB9DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AB9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9DF6
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9DF6#FFFFFF#000000##000000
##AB9DF61.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#99ADBE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9df6;
/* rgb */ color: rgb(171, 157, 246);
/* oklch */ color: oklch(74.3% 0.127 290.2);
Tailwind
colors: {
  custom: {
    50: '#c6baf9',
    500: '#ab9df6',
    950: '#000000',
  },
}
SCSS
$custom: #ab9df6;
$custom-light: #c6baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9df6",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 249.438,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74278,
    "c": 0.12694,
    "h": 290.2
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

primary
#AB9DF6
secondary
#F0F4D7
accent
#E006BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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