#AB96F9#AB96F9

#AB96F9 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.142 H 292.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AB96F9
RGBrgb(171, 150, 249)
HSLhsl(253, 89%, 78%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.3%, 39.8%, 0%, 2.4%)
CIE-LABlab(67.51, 29.16, -46.76)
CIE-LCHlch(67.51, 55.10, 301.95°)
OKLaboklab(73.14% 0.0537 -0.1309)
OKLCHoklch(73.14% 0.142 292.3)
XYZxyz(44.7955, 37.3093, 94.4455)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96F9 #E4F996
analogous
#96B2F9 #AB96F9 #DC96F9
triadic
#AB96F9 #F9AB96 #96F9AB
tetradic
#AB96F9 #F996B2 #E4F996 #96F9DC
square
#AB96F9 #F996B2 #E4F996 #96F9DC
split-complementary
#AB96F9 #F9DC96 #B2F996
monochromatic
#4E22F2 #7D5CF6 #AB96F9 #D9D0FC #E8E2FD

Accessibility & contrast

On white

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

On black

8.46
#AB96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96F9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96F9#FFFFFF#000000##000000
##AB96F91.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab96f9;
/* rgb */ color: rgb(171, 150, 249);
/* oklch */ color: oklch(73.1% 0.142 292.3);
Tailwind
colors: {
  custom: {
    50: '#c6b5fb',
    500: '#ab96f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab96f9;
$custom-light: #c6b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96f9",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 252.727,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.14151,
    "h": 292.3
  },
  "luminance": 0.3731
}

Semantic roles & 50–950 ramp

primary
#AB96F9
secondary
#EFF5D6
accent
#E600B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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