#AB96FD#AB96FD

#AB96FD is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.147 H 291.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AB96FD
RGBrgb(171, 150, 253)
HSLhsl(252, 96%, 79%)
HSVhsv(252, 41%, 99%)
CMYKcmyk(32.4%, 40.7%, 0%, 0.8%)
CIE-LABlab(67.70, 30.16, -48.64)
CIE-LCHlch(67.70, 57.24, 301.80°)
OKLaboklab(73.35% 0.0544 -0.1364)
OKLCHoklch(73.35% 0.147 291.7)
XYZxyz(45.4260, 37.5615, 97.7662)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96FD #E8FD96
analogous
#96B5FD #AB96FD #DF96FD
triadic
#AB96FD #FDAB96 #96FDAB
tetradic
#AB96FD #FD96B5 #E8FD96 #96FDDF
square
#AB96FD #FD96B5 #E8FD96 #96FDDF
split-complementary
#AB96FD #FDDF96 #B5FD96
monochromatic
#4B1EFB #7B5AFC #AB96FD #DBD2FE #E7E1FE

Accessibility & contrast

On white

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

On black

8.51
#AB96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96FD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96FD#FFFFFF#000000##000000
##AB96FD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#98A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab96fd;
/* rgb */ color: rgb(171, 150, 253);
/* oklch */ color: oklch(73.3% 0.147 291.7);
Tailwind
colors: {
  custom: {
    50: '#c6b5fe',
    500: '#ab96fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab96fd;
$custom-light: #c6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96fd",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 252.233,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73346,
    "c": 0.14686,
    "h": 291.7
  },
  "luminance": 0.37562
}

Semantic roles & 50–950 ramp

primary
#AB96FD
secondary
#F0F7D4
accent
#E600B7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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