#AB96CF#AB96CF

#AB96CF is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.2% C 0.085 H 301.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AB96CF
RGBrgb(171, 150, 207)
HSLhsl(262, 37%, 70%)
HSVhsv(262, 28%, 81%)
CMYKcmyk(17.4%, 27.5%, 0%, 18.8%)
CIE-LABlab(65.73, 19.14, -26.37)
CIE-LCHlch(65.73, 32.59, 305.97°)
OKLaboklab(71.2% 0.0438 -0.0724)
OKLCHoklch(71.2% 0.085 301.2)
XYZxyz(38.9611, 34.9756, 63.7178)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96CF #BACF96
analogous
#969ECF #AB96CF #C796CF
triadic
#AB96CF #CFAB96 #96CFAB
tetradic
#AB96CF #CF969E #BACF96 #96CFC7
square
#AB96CF #CF969E #BACF96 #96CFC7
split-complementary
#AB96CF #CFC796 #9ECF96
monochromatic
#6A4AA1 #896CBC #AB96CF #CDC0E2 #EEEAF5

Accessibility & contrast

On white

2.63
#AB96CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AB96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96CF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96CF#FFFFFF#000000##000000
##AB96CF1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#8E9FCD
Tritanopia (blue-blind)
#A59EAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab96cf;
/* rgb */ color: rgb(171, 150, 207);
/* oklch */ color: oklch(71.2% 0.085 301.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5dd',
    500: '#ab96cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab96cf;
$custom-light: #c4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96cf",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 262.105,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.08459,
    "h": 301.2
  },
  "luminance": 0.34976
}

Semantic roles & 50–950 ramp

primary
#AB96CF
secondary
#E3E8D8
accent
#B03583
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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