#AB96BF#AB96BF

#AB96BF is a light, moderate violet. Relative luminance 0.342; OKLCH L 70.6% C 0.063 H 308.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AB96BF
RGBrgb(171, 150, 191)
HSLhsl(271, 24%, 67%)
HSVhsv(271, 21%, 75%)
CMYKcmyk(10.5%, 21.5%, 0%, 25.1%)
CIE-LABlab(65.15, 15.65, -18.34)
CIE-LCHlch(65.15, 24.11, 310.48°)
OKLaboklab(70.56% 0.0389 -0.0498)
OKLCHoklch(70.56% 0.063 308)
XYZxyz(37.1032, 34.2324, 53.9330)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96BF #AABF96
analogous
#9796BF #AB96BF #BF96BF
triadic
#AB96BF #BFAB96 #96BFAB
tetradic
#AB96BF #BF9796 #AABF96 #96BFBF
square
#AB96BF #BF9796 #AABF96 #96BFBF
split-complementary
#AB96BF #BFBF96 #96BF97
monochromatic
#6E5388 #8D70A8 #AB96BF #C9BCD6 #E8E2ED

Accessibility & contrast

On white

2.68
#AB96BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AB96BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96BF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96BF#FFFFFF#000000##000000
##AB96BF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#939EBE
Tritanopia (blue-blind)
#A99BA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab96bf;
/* rgb */ color: rgb(171, 150, 191);
/* oklch */ color: oklch(70.6% 0.063 308.0);
Tailwind
colors: {
  custom: {
    50: '#c4b5d2',
    500: '#ab96bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab96bf;
$custom-light: #c4b5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96bf",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 191
  },
  "hsl": {
    "h": 270.732,
    "s": 24.26,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70556,
    "c": 0.06316,
    "h": 308
  },
  "luminance": 0.34232
}

Semantic roles & 50–950 ramp

primary
#AB96BF
secondary
#D8DFD2
accent
#A34372
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #AB96BF

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

Preview Lab → · Contrast checker → · Palette generator →

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