#997BA7#997BA7

#997BA7 is a light, moderate purple. Relative luminance 0.237; OKLCH L 62.7% C 0.073 H 314.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#997BA7
RGBrgb(153, 123, 167)
HSLhsl(281, 20%, 57%)
HSVhsv(281, 26%, 65%)
CMYKcmyk(8.4%, 26.3%, 0%, 34.5%)
CIE-LABlab(55.82, 19.92, -19.06)
CIE-LCHlch(55.82, 27.57, 316.26°)
OKLaboklab(62.69% 0.0516 -0.0518)
OKLCHoklch(62.69% 0.073 314.9)
XYZxyz(27.1938, 23.7287, 39.6993)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BA7 #89A77B
analogous
#837BA7 #997BA7 #A77B9F
triadic
#997BA7 #A7997B #7BA799
tetradic
#997BA7 #A7837B #89A77B #7B9FA7
square
#997BA7 #A7837B #89A77B #7B9FA7
split-complementary
#997BA7 #9FA77B #7BA783
monochromatic
#5A4365 #7B5C89 #997BA7 #B5A0BF #D2C4D8

Accessibility & contrast

On white

3.65
#997BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#997BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BA7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BA7#FFFFFF#000000##000000
##997BA71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A9
Deuteranopia (green-blind)
#7B87A6
Tritanopia (blue-blind)
#98808A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #997ba7;
/* rgb */ color: rgb(153, 123, 167);
/* oklch */ color: oklch(62.7% 0.073 314.9);
Tailwind
colors: {
  custom: {
    50: '#b7a1c1',
    500: '#997ba7',
    950: '#000000',
  },
}
SCSS
$custom: #997ba7;
$custom-light: #b7a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#997ba7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 280.909,
    "s": 20,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.07314,
    "h": 314.9
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#997BA7
secondary
#BCC8B6
accent
#BD6B85
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #997BA7

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

Preview Lab → · Contrast checker → · Palette generator →

#997BA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva