#AB9EF2#AB9EF2

#AB9EF2 is a light, moderate blue. Relative luminance 0.395; OKLCH L 74.3% C 0.120 H 290.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AB9EF2
RGBrgb(171, 158, 242)
HSLhsl(249, 76%, 78%)
HSVhsv(249, 35%, 95%)
CMYKcmyk(29.3%, 34.7%, 0%, 5.1%)
CIE-LABlab(69.13, 22.90, -40.40)
CIE-LCHlch(69.13, 46.44, 299.54°)
OKLaboklab(74.27% 0.0415 -0.1125)
OKLCHoklch(74.27% 0.12 290.3)
XYZxyz(45.0444, 39.5216, 89.2424)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9EF2 #E5F29E
analogous
#9EBBF2 #AB9EF2 #D59EF2
triadic
#AB9EF2 #F2AB9E #9EF2AB
tetradic
#AB9EF2 #F29EBB #E5F29E #9EF2D5
square
#AB9EF2 #F29EBB #E5F29E #9EF2D5
split-complementary
#AB9EF2 #F2D59E #BBF29E
monochromatic
#4E32E4 #7C68EB #AB9EF2 #DAD4F9 #E8E4FB

Accessibility & contrast

On white

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

On black

8.90
#AB9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9EF2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9EF2#FFFFFF#000000##000000
##AB9EF21.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#9BADBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9ef2;
/* rgb */ color: rgb(171, 158, 242);
/* oklch */ color: oklch(74.3% 0.120 290.3);
Tailwind
colors: {
  custom: {
    50: '#c6baf6',
    500: '#ab9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ef2;
$custom-light: #c6baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ef2",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 249.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.11996,
    "h": 290.3
  },
  "luminance": 0.39522
}

Semantic roles & 50–950 ramp

primary
#AB9EF2
secondary
#EFF3D8
accent
#D90DB9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AB9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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