#AB9FED#AB9FED

#AB9FED is a light, moderate blue. Relative luminance 0.396; OKLCH L 74.2% C 0.112 H 290.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AB9FED
RGBrgb(171, 159, 237)
HSLhsl(249, 68%, 78%)
HSVhsv(249, 33%, 93%)
CMYKcmyk(27.8%, 32.9%, 0%, 7.1%)
CIE-LABlab(69.16, 21.11, -37.61)
CIE-LCHlch(69.16, 43.13, 299.30°)
OKLaboklab(74.23% 0.039 -0.1045)
OKLCHoklch(74.23% 0.112 290.5)
XYZxyz(44.4750, 39.5678, 85.3985)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FED #E1ED9F
analogous
#9FBAED #AB9FED #D29FED
triadic
#AB9FED #EDAB9F #9FEDAB
tetradic
#AB9FED #ED9FBA #E1ED9F #9FEDD2
square
#AB9FED #ED9FBA #E1ED9F #9FEDD2
split-complementary
#AB9FED #EDD29F #BAED9F
monochromatic
#5138DA #7E6BE3 #AB9FED #D8D3F7 #E8E5FA

Accessibility & contrast

On white

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

On black

8.91
#AB9FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FED
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FED#FFFFFF#000000##000000
##AB9FED1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#9CADBB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9fed;
/* rgb */ color: rgb(171, 159, 237);
/* oklch */ color: oklch(74.2% 0.112 290.5);
Tailwind
colors: {
  custom: {
    50: '#c5bbf3',
    500: '#ab9fed',
    950: '#000000',
  },
}
SCSS
$custom: #ab9fed;
$custom-light: #c5bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9fed",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 249.231,
    "s": 68.421,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.11156,
    "h": 290.5
  },
  "luminance": 0.39569
}

Semantic roles & 50–950 ramp

primary
#AB9FED
secondary
#EEF2D9
accent
#D015B4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9FED

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

Preview Lab → · Contrast checker → · Palette generator →

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