#AB96CD#AB96CD

#AB96CD is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.1% C 0.082 H 301.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AB96CD
RGBrgb(171, 150, 205)
HSLhsl(263, 35%, 70%)
HSVhsv(263, 27%, 80%)
CMYKcmyk(16.6%, 26.8%, 0%, 19.6%)
CIE-LABlab(65.65, 18.69, -25.38)
CIE-LCHlch(65.65, 31.52, 306.37°)
OKLaboklab(71.11% 0.0432 -0.0696)
OKLCHoklch(71.11% 0.082 301.8)
XYZxyz(38.7181, 34.8784, 62.4382)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96CD #B8CD96
analogous
#969DCD #AB96CD #C796CD
triadic
#AB96CD #CDAB96 #96CDAB
tetradic
#AB96CD #CD969D #B8CD96 #96CDC7
square
#AB96CD #CD969D #B8CD96 #96CDC7
split-complementary
#AB96CD #CDC796 #9DCD96
monochromatic
#6B4B9E #8A6DB9 #AB96CD #CCBFE1 #EDE9F4

Accessibility & contrast

On white

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

On black

7.98
#AB96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96CD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96CD#FFFFFF#000000##000000
##AB96CD1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#8F9FCB
Tritanopia (blue-blind)
#A59EA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab96cd;
/* rgb */ color: rgb(171, 150, 205);
/* oklch */ color: oklch(71.1% 0.082 301.8);
Tailwind
colors: {
  custom: {
    50: '#c4b5dc',
    500: '#ab96cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab96cd;
$custom-light: #c4b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96cd",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 262.909,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71114,
    "c": 0.08188,
    "h": 301.8
  },
  "luminance": 0.34878
}

Semantic roles & 50–950 ramp

primary
#AB96CD
secondary
#E1E7D8
accent
#AE3781
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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