#AB9FF2#AB9FF2

#AB9FF2 is a light, moderate blue. Relative luminance 0.399; OKLCH L 74.5% C 0.118 H 289.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AB9FF2
RGBrgb(171, 159, 242)
HSLhsl(249, 76%, 79%)
HSVhsv(249, 34%, 95%)
CMYKcmyk(29.3%, 34.3%, 0%, 5.1%)
CIE-LABlab(69.37, 22.33, -40.01)
CIE-LCHlch(69.37, 45.83, 299.17°)
OKLaboklab(74.46% 0.0402 -0.1114)
OKLCHoklch(74.46% 0.118 289.8)
XYZxyz(45.2157, 39.8641, 89.2995)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9FF2 #E6F29F
analogous
#9FBCF2 #AB9FF2 #D49FF2
triadic
#AB9FF2 #F2AB9F #9FF2AB
tetradic
#AB9FF2 #F29FBC #E6F29F #9FF2D4
square
#AB9FF2 #F29FBC #E6F29F #9FF2D4
split-complementary
#AB9FF2 #F2D49F #BCF29F
monochromatic
#4D33E3 #7C69EB #AB9FF2 #DAD5F9 #E7E4FB

Accessibility & contrast

On white

2.34
#AB9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#AB9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9FF2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9FF2#FFFFFF#000000##000000
##AB9FF21.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#9BAEBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ab9ff2;
/* rgb */ color: rgb(171, 159, 242);
/* oklch */ color: oklch(74.5% 0.118 289.8);
Tailwind
colors: {
  custom: {
    50: '#c6bbf6',
    500: '#ab9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ff2;
$custom-light: #c6bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ff2",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 248.675,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74462,
    "c": 0.11846,
    "h": 289.8
  },
  "luminance": 0.39865
}

Semantic roles & 50–950 ramp

primary
#AB9FF2
secondary
#EFF3D8
accent
#D80DBB
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AB9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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