#AB97CC#AB97CC

#AB97CC is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.3% C 0.079 H 301.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AB97CC
RGBrgb(171, 151, 204)
HSLhsl(263, 34%, 70%)
HSVhsv(263, 26%, 80%)
CMYKcmyk(16.2%, 26%, 0%, 20%)
CIE-LABlab(65.87, 17.91, -24.50)
CIE-LCHlch(65.87, 30.34, 306.17°)
OKLaboklab(71.27% 0.0414 -0.0671)
OKLCHoklch(71.27% 0.079 301.7)
XYZxyz(38.7581, 35.1508, 61.8579)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97CC #B8CC97
analogous
#979DCC #AB97CC #C697CC
triadic
#AB97CC #CCAB97 #97CCAB
tetradic
#AB97CC #CC979D #B8CC97 #97CCC6
square
#AB97CC #CC979D #B8CC97 #97CCC6
split-complementary
#AB97CC #CCC697 #9DCC97
monochromatic
#6B4D9C #8A6EB8 #AB97CC #CCC0E0 #EDE9F4

Accessibility & contrast

On white

2.62
#AB97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AB97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97CC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97CC#FFFFFF#000000##000000
##AB97CC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CE
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#A69FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab97cc;
/* rgb */ color: rgb(171, 151, 204);
/* oklch */ color: oklch(71.3% 0.079 301.7);
Tailwind
colors: {
  custom: {
    50: '#c4b5db',
    500: '#ab97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab97cc;
$custom-light: #c4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97cc",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 262.642,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.07884,
    "h": 301.7
  },
  "luminance": 0.35151
}

Semantic roles & 50–950 ramp

primary
#AB97CC
secondary
#E1E7D8
accent
#AD3881
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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