#997BA5#997BA5

#997BA5 is a light, moderate purple. Relative luminance 0.237; OKLCH L 62.6% C 0.071 H 316.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#997BA5
RGBrgb(153, 123, 165)
HSLhsl(283, 19%, 56%)
HSVhsv(283, 25%, 65%)
CMYKcmyk(7.3%, 25.5%, 0%, 35.3%)
CIE-LABlab(55.74, 19.50, -18.02)
CIE-LCHlch(55.74, 26.55, 317.26°)
OKLaboklab(62.61% 0.051 -0.0489)
OKLCHoklch(62.61% 0.071 316.2)
XYZxyz(27.0103, 23.6553, 38.7330)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BA5 #87A57B
analogous
#847BA5 #997BA5 #A57B9C
triadic
#997BA5 #A5997B #7BA599
tetradic
#997BA5 #A5847B #87A57B #7B9CA5
square
#997BA5 #A5847B #87A57B #7B9CA5
split-complementary
#997BA5 #9CA57B #7BA584
monochromatic
#5A4362 #7B5C87 #997BA5 #B59FBE #D1C4D7

Accessibility & contrast

On white

3.66
#997BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#997BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BA5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BA5#FFFFFF#000000##000000
##997BA51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A7
Deuteranopia (green-blind)
#7C86A4
Tritanopia (blue-blind)
#99808A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #997ba5;
/* rgb */ color: rgb(153, 123, 165);
/* oklch */ color: oklch(62.6% 0.071 316.2);
Tailwind
colors: {
  custom: {
    50: '#b7a1bf',
    500: '#997ba5',
    950: '#000000',
  },
}
SCSS
$custom: #997ba5;
$custom-light: #b7a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#997ba5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 282.857,
    "s": 18.919,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.07065,
    "h": 316.2
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#997BA5
secondary
#BAC7B5
accent
#BC6C83
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #997BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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