#AB91FA#AB91FA

#AB91FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.3% C 0.150 H 293.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AB91FA
RGBrgb(171, 145, 250)
HSLhsl(255, 91%, 77%)
HSVhsv(255, 42%, 98%)
CMYKcmyk(31.6%, 42%, 0%, 2%)
CIE-LABlab(66.37, 32.23, -49.09)
CIE-LCHlch(66.37, 58.72, 303.28°)
OKLaboklab(72.3% 0.0604 -0.1377)
OKLCHoklch(72.3% 0.15 293.7)
XYZxyz(44.1709, 35.8101, 95.0088)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91FA #E0FA91
analogous
#91ACFA #AB91FA #DF91FA
triadic
#AB91FA #FAAB91 #91FAAB
tetradic
#AB91FA #FA91AC #E0FA91 #91FADF
square
#AB91FA #FA91AC #E0FA91 #91FADF
split-complementary
#AB91FA #FADF91 #ACFA91
monochromatic
#521CF5 #7E56F7 #AB91FA #D8CCFD #E9E2FE

Accessibility & contrast

On white

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

On black

8.16
#AB91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91FA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91FA#FFFFFF#000000##000000
##AB91FA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#99A4BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab91fa;
/* rgb */ color: rgb(171, 145, 250);
/* oklch */ color: oklch(72.3% 0.150 293.7);
Tailwind
colors: {
  custom: {
    50: '#c6b1fc',
    500: '#ab91fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab91fa;
$custom-light: #c6b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91fa",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 254.857,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.15039,
    "h": 293.7
  },
  "luminance": 0.35811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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