#AB9EF3#AB9EF3

#AB9EF3 is a light, vivid blue. Relative luminance 0.396; OKLCH L 74.3% C 0.121 H 290.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AB9EF3
RGBrgb(171, 158, 243)
HSLhsl(249, 78%, 79%)
HSVhsv(249, 35%, 95%)
CMYKcmyk(29.6%, 35%, 0%, 4.7%)
CIE-LABlab(69.17, 23.15, -40.88)
CIE-LCHlch(69.17, 46.97, 299.52°)
OKLaboklab(74.32% 0.0418 -0.1139)
OKLCHoklch(74.32% 0.121 290.1)
XYZxyz(45.1950, 39.5818, 90.0355)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9EF3 #E6F39E
analogous
#9EBBF3 #AB9EF3 #D59EF3
triadic
#AB9EF3 #F3AB9E #9EF3AB
tetradic
#AB9EF3 #F39EBB #E6F39E #9EF3D5
square
#AB9EF3 #F39EBB #E6F39E #9EF3D5
split-complementary
#AB9EF3 #F3D59E #BBF39E
monochromatic
#4D31E6 #7C68EC #AB9EF3 #DAD4FA #E7E4FC

Accessibility & contrast

On white

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

On black

8.92
#AB9EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9EF3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9EF3#FFFFFF#000000##000000
##AB9EF31.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#9AADBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9ef3;
/* rgb */ color: rgb(171, 158, 243);
/* oklch */ color: oklch(74.3% 0.121 290.1);
Tailwind
colors: {
  custom: {
    50: '#c6baf7',
    500: '#ab9ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ef3;
$custom-light: #c6baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ef3",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 249.176,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.12133,
    "h": 290.1
  },
  "luminance": 0.39583
}

Semantic roles & 50–950 ramp

primary
#AB9EF3
secondary
#EFF3D8
accent
#DA0BBB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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