#997BA1#997BA1

#997BA1 is a light, moderate purple. Relative luminance 0.235; OKLCH L 62.4% C 0.066 H 319.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#997BA1
RGBrgb(153, 123, 161)
HSLhsl(287, 17%, 56%)
HSVhsv(287, 24%, 63%)
CMYKcmyk(5%, 23.6%, 0%, 36.9%)
CIE-LABlab(55.60, 18.66, -15.93)
CIE-LCHlch(55.60, 24.54, 319.52°)
OKLaboklab(62.45% 0.0497 -0.0431)
OKLCHoklch(62.45% 0.066 319.1)
XYZxyz(26.6519, 23.5119, 36.8456)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BA1 #83A17B
analogous
#867BA1 #997BA1 #A17B96
triadic
#997BA1 #A1997B #7BA199
tetradic
#997BA1 #A1867B #83A17B #7B96A1
square
#997BA1 #A1867B #83A17B #7B96A1
split-complementary
#997BA1 #96A17B #7BA186
monochromatic
#59435E #7A5D82 #997BA1 #B59FBA #D0C2D4

Accessibility & contrast

On white

3.68
#997BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#997BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BA1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BA1#FFFFFF#000000##000000
##997BA11.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A3
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#9A7F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #997ba1;
/* rgb */ color: rgb(153, 123, 161);
/* oklch */ color: oklch(62.4% 0.066 319.1);
Tailwind
colors: {
  custom: {
    50: '#b7a1bc',
    500: '#997ba1',
    950: '#000000',
  },
}
SCSS
$custom: #997ba1;
$custom-light: #b7a1bc;
$custom-dark: #000000;
JSON
{
  "hex": "#997ba1",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 287.368,
    "s": 16.814,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.06578,
    "h": 319.1
  },
  "luminance": 0.23511
}

Semantic roles & 50–950 ramp

primary
#997BA1
secondary
#B7C4B4
accent
#BA6E7E
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #997BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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