#AB91FB#AB91FB

#AB91FB is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.152 H 293.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AB91FB
RGBrgb(171, 145, 251)
HSLhsl(255, 93%, 78%)
HSVhsv(255, 42%, 98%)
CMYKcmyk(31.9%, 42.2%, 0%, 1.6%)
CIE-LABlab(66.42, 32.48, -49.56)
CIE-LCHlch(66.42, 59.26, 303.24°)
OKLaboklab(72.35% 0.0606 -0.1391)
OKLCHoklch(72.35% 0.152 293.5)
XYZxyz(44.3282, 35.8730, 95.8368)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91FB #E1FB91
analogous
#91ACFB #AB91FB #E091FB
triadic
#AB91FB #FBAB91 #91FBAB
tetradic
#AB91FB #FB91AC #E1FB91 #91FBE0
square
#AB91FB #FB91AC #E1FB91 #91FBE0
split-complementary
#AB91FB #FBE091 #ACFB91
monochromatic
#511BF7 #7E56F9 #AB91FB #D8CCFD #E8E1FE

Accessibility & contrast

On white

2.57
#AB91FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AB91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91FB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91FB#FFFFFF#000000##000000
##AB91FB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#99A5BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab91fb;
/* rgb */ color: rgb(171, 145, 251);
/* oklch */ color: oklch(72.4% 0.152 293.5);
Tailwind
colors: {
  custom: {
    50: '#c7b1fd',
    500: '#ab91fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab91fb;
$custom-light: #c7b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91fb",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 254.717,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7235,
    "c": 0.15171,
    "h": 293.5
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

primary
#AB91FB
secondary
#EEF6D5
accent
#E600AD
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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