#AB97CB#AB97CB

#AB97CB is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.2% C 0.077 H 302.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AB97CB
RGBrgb(171, 151, 203)
HSLhsl(263, 33%, 69%)
HSVhsv(263, 26%, 80%)
CMYKcmyk(15.8%, 25.6%, 0%, 20.4%)
CIE-LABlab(65.83, 17.68, -24.00)
CIE-LCHlch(65.83, 29.81, 306.39°)
OKLaboklab(71.22% 0.0411 -0.0657)
OKLCHoklch(71.22% 0.077 302.1)
XYZxyz(38.6385, 35.1029, 61.2283)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97CB #B7CB97
analogous
#979DCB #AB97CB #C597CB
triadic
#AB97CB #CBAB97 #97CBAB
tetradic
#AB97CB #CB979D #B7CB97 #97CBC5
square
#AB97CB #CB979D #B7CB97 #97CBC5
split-complementary
#AB97CB #CBC597 #9DCB97
monochromatic
#6B4D9A #8A6EB7 #AB97CB #CCC0DF #EDE9F4

Accessibility & contrast

On white

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

On black

8.02
#AB97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97CB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97CB#FFFFFF#000000##000000
##AB97CB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#90A0C9
Tritanopia (blue-blind)
#A69EA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab97cb;
/* rgb */ color: rgb(171, 151, 203);
/* oklch */ color: oklch(71.2% 0.077 302.1);
Tailwind
colors: {
  custom: {
    50: '#c4b5db',
    500: '#ab97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab97cb;
$custom-light: #c4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97cb",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 263.077,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.07748,
    "h": 302.1
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#AB97CB
secondary
#E1E6D7
accent
#AC3980
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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