#AB96DA#AB96DA

#AB96DA is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.7% C 0.100 H 298.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AB96DA
RGBrgb(171, 150, 218)
HSLhsl(259, 48%, 72%)
HSVhsv(259, 31%, 85%)
CMYKcmyk(21.6%, 31.2%, 0%, 14.5%)
CIE-LABlab(66.16, 21.65, -31.81)
CIE-LCHlch(66.16, 38.48, 304.24°)
OKLaboklab(71.67% 0.0468 -0.0879)
OKLCHoklch(71.67% 0.1 298)
XYZxyz(40.3530, 35.5323, 71.0486)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96DA #C5DA96
analogous
#96A3DA #AB96DA #CD96DA
triadic
#AB96DA #DAAB96 #96DAAB
tetradic
#AB96DA #DA96A3 #C5DA96 #96DACD
square
#AB96DA #DA96A3 #C5DA96 #96DACD
split-complementary
#AB96DA #DACD96 #A3DA96
monochromatic
#6440B6 #8769CA #AB96DA #CFC3EA #EDE8F7

Accessibility & contrast

On white

2.59
#AB96DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AB96DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96DA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96DA#FFFFFF#000000##000000
##AB96DA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#8AA0D8
Tritanopia (blue-blind)
#A2A1AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab96da;
/* rgb */ color: rgb(171, 150, 218);
/* oklch */ color: oklch(71.7% 0.100 298.0);
Tailwind
colors: {
  custom: {
    50: '#c5b5e5',
    500: '#ab96da',
    950: '#000000',
  },
}
SCSS
$custom: #ab96da;
$custom-light: #c5b5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96da",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 218
  },
  "hsl": {
    "h": 258.529,
    "s": 47.887,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71671,
    "c": 0.09954,
    "h": 298
  },
  "luminance": 0.35533
}

Semantic roles & 50–950 ramp

primary
#AB96DA
secondary
#E9EEDD
accent
#BB2A8E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB96DA

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

Preview Lab → · Contrast checker → · Palette generator →

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