#AB91FF#AB91FF

#AB91FF is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.157 H 292.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AB91FF
RGBrgb(171, 145, 255)
HSLhsl(254, 100%, 78%)
HSVhsv(254, 43%, 100%)
CMYKcmyk(32.9%, 43.1%, 0%, 0%)
CIE-LABlab(66.62, 33.49, -51.44)
CIE-LCHlch(66.62, 61.38, 303.07°)
OKLaboklab(72.56% 0.0612 -0.1446)
OKLCHoklch(72.56% 0.157 292.9)
XYZxyz(44.9654, 36.1278, 99.1927)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91FF #E5FF91
analogous
#91AEFF #AB91FF #E291FF
triadic
#AB91FF #FFAB91 #91FFAB
tetradic
#AB91FF #FF91AE #E5FF91 #91FFE2
square
#AB91FF #FF91AE #E5FF91 #91FFE2
split-complementary
#AB91FF #FFE291 #AEFF91
monochromatic
#4E17FF #7C54FF #AB91FF #DACEFF #E8E0FF

Accessibility & contrast

On white

2.55
#AB91FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AB91FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91FF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91FF#FFFFFF#000000##000000
##AB91FF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#97A6BC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab91ff;
/* rgb */ color: rgb(171, 145, 255);
/* oklch */ color: oklch(72.6% 0.157 292.9);
Tailwind
colors: {
  custom: {
    50: '#c7b1ff',
    500: '#ab91ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ff;
$custom-light: #c7b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ff",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 254.182,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72561,
    "c": 0.15698,
    "h": 292.9
  },
  "luminance": 0.36129
}

Semantic roles & 50–950 ramp

primary
#AB91FF
secondary
#EFF7D4
accent
#E600AF
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB91FF

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

Preview Lab → · Contrast checker → · Palette generator →

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