#AB9FFA#AB9FFA

#AB9FFA is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.8% C 0.129 H 288.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AB9FFA
RGBrgb(171, 159, 250)
HSLhsl(248, 90%, 80%)
HSVhsv(248, 36%, 98%)
CMYKcmyk(31.6%, 36.4%, 0%, 2%)
CIE-LABlab(69.72, 24.33, -43.83)
CIE-LCHlch(69.72, 50.13, 299.04°)
OKLaboklab(74.84% 0.042 -0.1224)
OKLCHoklch(74.84% 0.129 288.9)
XYZxyz(46.4435, 40.3553, 95.7663)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FFA #EEFA9F
analogous
#9FC0FA #AB9FFA #D89FFA
triadic
#AB9FFA #FAAB9F #9FFAAB
tetradic
#AB9FFA #FA9FC0 #EEFA9F #9FFAD8
square
#AB9FFA #FA9FC0 #EEFA9F #9FFAD8
split-complementary
#AB9FFA #FAD89F #C0FA9F
monochromatic
#452BF4 #7865F7 #AB9FFA #DED9FD #E6E2FD

Accessibility & contrast

On white

2.32
#AB9FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AB9FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FFA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FFA#FFFFFF#000000##000000
##AB9FFA1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#98B0C1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ab9ffa;
/* rgb */ color: rgb(171, 159, 250);
/* oklch */ color: oklch(74.8% 0.129 288.9);
Tailwind
colors: {
  custom: {
    50: '#c6bbfc',
    500: '#ab9ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ffa;
$custom-light: #c6bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ffa",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 247.912,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.74844,
    "c": 0.12944,
    "h": 288.9
  },
  "luminance": 0.40356
}

Semantic roles & 50–950 ramp

primary
#AB9FFA
secondary
#F1F6D5
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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