#AB97CD#AB97CD

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

Color values

HEX#AB97CD
RGBrgb(171, 151, 205)
HSLhsl(262, 35%, 70%)
HSVhsv(262, 26%, 80%)
CMYKcmyk(16.6%, 26.3%, 0%, 19.6%)
CIE-LABlab(65.90, 18.13, -25.00)
CIE-LCHlch(65.90, 30.88, 305.95°)
OKLaboklab(71.31% 0.0417 -0.0685)
OKLCHoklch(71.31% 0.08 301.4)
XYZxyz(38.8784, 35.1989, 62.4916)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97CD #B9CD97
analogous
#979ECD #AB97CD #C697CD
triadic
#AB97CD #CDAB97 #97CDAB
tetradic
#AB97CD #CD979E #B9CD97 #97CDC6
square
#AB97CD #CD979E #B9CD97 #97CDC6
split-complementary
#AB97CD #CDC697 #9ECD97
monochromatic
#6A4C9E #8A6EB9 #AB97CD #CCC0E1 #EEEAF5

Accessibility & contrast

On white

2.61
#AB97CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AB97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97CD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97CD#FFFFFF#000000##000000
##AB97CD1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#A59FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab97cd;
/* rgb */ color: rgb(171, 151, 205);
/* oklch */ color: oklch(71.3% 0.080 301.4);
Tailwind
colors: {
  custom: {
    50: '#c4b5dc',
    500: '#ab97cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab97cd;
$custom-light: #c4b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97cd",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 262.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.08019,
    "h": 301.4
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#AB97CD
secondary
#E2E8D8
accent
#AE3882
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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