#AB96FA#AB96FA

#AB96FA is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.143 H 292.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AB96FA
RGBrgb(171, 150, 250)
HSLhsl(253, 91%, 78%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.6%, 40%, 0%, 2%)
CIE-LABlab(67.56, 29.41, -47.23)
CIE-LCHlch(67.56, 55.64, 301.91°)
OKLaboklab(73.19% 0.0538 -0.1323)
OKLCHoklch(73.19% 0.143 292.1)
XYZxyz(44.9518, 37.3719, 95.2691)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96FA #E5FA96
analogous
#96B3FA #AB96FA #DD96FA
triadic
#AB96FA #FAAB96 #96FAAB
tetradic
#AB96FA #FA96B3 #E5FA96 #96FADD
square
#AB96FA #FA96B3 #E5FA96 #96FADD
split-complementary
#AB96FA #FADD96 #B3FA96
monochromatic
#4E21F4 #7C5CF7 #AB96FA #DAD0FD #E8E2FE

Accessibility & contrast

On white

2.48
#AB96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AB96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96FA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96FA#FFFFFF#000000##000000
##AB96FA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#99A8BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab96fa;
/* rgb */ color: rgb(171, 150, 250);
/* oklch */ color: oklch(73.2% 0.143 292.1);
Tailwind
colors: {
  custom: {
    50: '#c6b5fc',
    500: '#ab96fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab96fa;
$custom-light: #c6b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96fa",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 252.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73193,
    "c": 0.14284,
    "h": 292.1
  },
  "luminance": 0.37373
}

Semantic roles & 50–950 ramp

primary
#AB96FA
secondary
#EFF6D5
accent
#E600B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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