#AB96FB#AB96FB

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

Color values

HEX#AB96FB
RGBrgb(171, 150, 251)
HSLhsl(252, 93%, 79%)
HSVhsv(252, 40%, 98%)
CMYKcmyk(31.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(67.60, 29.66, -47.70)
CIE-LCHlch(67.60, 56.17, 301.87°)
OKLaboklab(73.24% 0.054 -0.1337)
OKLCHoklch(73.24% 0.144 292)
XYZxyz(45.1091, 37.4348, 96.0971)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96FB #E6FB96
analogous
#96B3FB #AB96FB #DD96FB
triadic
#AB96FB #FBAB96 #96FBAB
tetradic
#AB96FB #FB96B3 #E6FB96 #96FBDD
square
#AB96FB #FB96B3 #E6FB96 #96FBDD
split-complementary
#AB96FB #FBDD96 #B3FB96
monochromatic
#4D20F7 #7C5BF9 #AB96FB #DAD1FD #E7E2FE

Accessibility & contrast

On white

2.47
#AB96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AB96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96FB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96FB#FFFFFF#000000##000000
##AB96FB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#98A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab96fb;
/* rgb */ color: rgb(171, 150, 251);
/* oklch */ color: oklch(73.2% 0.144 292.0);
Tailwind
colors: {
  custom: {
    50: '#c6b5fd',
    500: '#ab96fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab96fb;
$custom-light: #c6b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96fb",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 252.475,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.14418,
    "h": 292
  },
  "luminance": 0.37436
}

Semantic roles & 50–950 ramp

primary
#AB96FB
secondary
#EFF6D5
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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