#AB91FC#AB91FC

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

Color values

HEX#AB91FC
RGBrgb(171, 145, 252)
HSLhsl(255, 95%, 78%)
HSVhsv(255, 42%, 99%)
CMYKcmyk(32.1%, 42.5%, 0%, 1.2%)
CIE-LABlab(66.47, 32.73, -50.03)
CIE-LCHlch(66.47, 59.79, 303.19°)
OKLaboklab(72.4% 0.0607 -0.1405)
OKLCHoklch(72.4% 0.153 293.4)
XYZxyz(44.4862, 35.9362, 96.6692)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91FC #E2FC91
analogous
#91ADFC #AB91FC #E091FC
triadic
#AB91FC #FCAB91 #91FCAB
tetradic
#AB91FC #FC91AD #E2FC91 #91FCE0
square
#AB91FC #FC91AD #E2FC91 #91FCE0
split-complementary
#AB91FC #FCE091 #ADFC91
monochromatic
#501AF9 #7E55FA #AB91FC #D8CDFE #E8E1FE

Accessibility & contrast

On white

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

On black

8.19
#AB91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91FC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91FC#FFFFFF#000000##000000
##AB91FC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#98A5BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab91fc;
/* rgb */ color: rgb(171, 145, 252);
/* oklch */ color: oklch(72.4% 0.153 293.4);
Tailwind
colors: {
  custom: {
    50: '#c7b1fe',
    500: '#ab91fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab91fc;
$custom-light: #c7b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91fc",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 254.579,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72403,
    "c": 0.15303,
    "h": 293.4
  },
  "luminance": 0.35937
}

Semantic roles & 50–950 ramp

primary
#AB91FC
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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