#AB91FE#AB91FE

#AB91FE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.5% C 0.156 H 293.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AB91FE
RGBrgb(171, 145, 254)
HSLhsl(254, 98%, 78%)
HSVhsv(254, 43%, 100%)
CMYKcmyk(32.7%, 42.9%, 0%, 0.4%)
CIE-LABlab(66.57, 33.23, -50.97)
CIE-LCHlch(66.57, 60.85, 303.11°)
OKLaboklab(72.51% 0.0611 -0.1432)
OKLCHoklch(72.51% 0.156 293.1)
XYZxyz(44.8048, 36.0636, 98.3471)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91FE #E4FE91
analogous
#91ADFE #AB91FE #E191FE
triadic
#AB91FE #FEAB91 #91FEAB
tetradic
#AB91FE #FE91AD #E4FE91 #91FEE1
square
#AB91FE #FE91AD #E4FE91 #91FEE1
split-complementary
#AB91FE #FEE191 #ADFE91
monochromatic
#4E18FD #7D54FD #AB91FE #D9CEFF #E8E1FF

Accessibility & contrast

On white

2.56
#AB91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AB91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91FE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91FE#FFFFFF#000000##000000
##AB91FE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#98A5BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab91fe;
/* rgb */ color: rgb(171, 145, 254);
/* oklch */ color: oklch(72.5% 0.156 293.1);
Tailwind
colors: {
  custom: {
    50: '#c7b1ff',
    500: '#ab91fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab91fe;
$custom-light: #c7b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91fe",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 254.312,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72508,
    "c": 0.15566,
    "h": 293.1
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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