#AB96FF#AB96FF

#AB96FF is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.4% C 0.150 H 291.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AB96FF
RGBrgb(171, 150, 255)
HSLhsl(252, 100%, 79%)
HSVhsv(252, 41%, 100%)
CMYKcmyk(32.9%, 41.2%, 0%, 0%)
CIE-LABlab(67.79, 30.67, -49.58)
CIE-LCHlch(67.79, 58.30, 301.74°)
OKLaboklab(73.45% 0.0547 -0.1391)
OKLCHoklch(73.45% 0.15 291.5)
XYZxyz(45.7463, 37.6896, 99.4530)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96FF #EAFF96
analogous
#96B6FF #AB96FF #E096FF
triadic
#AB96FF #FFAB96 #96FFAB
tetradic
#AB96FF #FF96B6 #EAFF96 #96FFE0
square
#AB96FF #FF96B6 #EAFF96 #96FFE0
split-complementary
#AB96FF #FFE096 #B6FF96
monochromatic
#491CFF #7A59FF #AB96FF #DCD3FF #E7E0FF

Accessibility & contrast

On white

2.46
#AB96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AB96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96FF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96FF#FFFFFF#000000##000000
##AB96FF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#97AABE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab96ff;
/* rgb */ color: rgb(171, 150, 255);
/* oklch */ color: oklch(73.4% 0.150 291.5);
Tailwind
colors: {
  custom: {
    50: '#c7b5ff',
    500: '#ab96ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab96ff;
$custom-light: #c7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96ff",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 252,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.14952,
    "h": 291.5
  },
  "luminance": 0.37691
}

Semantic roles & 50–950 ramp

primary
#AB96FF
secondary
#F0F7D4
accent
#E600B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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