#997FA5#997FA5

#997FA5 is a light, moderate purple. Relative luminance 0.247; OKLCH L 63.4% C 0.063 H 315.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#997FA5
RGBrgb(153, 127, 165)
HSLhsl(281, 17%, 57%)
HSVhsv(281, 23%, 65%)
CMYKcmyk(7.3%, 23%, 0%, 35.3%)
CIE-LABlab(56.75, 17.19, -16.48)
CIE-LCHlch(56.75, 23.82, 316.20°)
OKLaboklab(63.38% 0.0447 -0.0447)
OKLCHoklch(63.38% 0.063 315)
XYZxyz(27.5167, 24.6680, 38.9018)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FA5 #8BA57F
analogous
#867FA5 #997FA5 #A57F9E
triadic
#997FA5 #A5997F #7FA599
tetradic
#997FA5 #A5867F #8BA57F #7F9EA5
square
#997FA5 #A5867F #8BA57F #7F9EA5
split-complementary
#997FA5 #9EA57F #7FA586
monochromatic
#5A4664 #7B5F88 #997FA5 #B6A3BE #D2C7D8

Accessibility & contrast

On white

3.54
#997FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#997FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FA5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FA5#FFFFFF#000000##000000
##997FA51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A87A7
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#99838C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997fa5;
/* rgb */ color: rgb(153, 127, 165);
/* oklch */ color: oklch(63.4% 0.063 315.0);
Tailwind
colors: {
  custom: {
    50: '#b7a4bf',
    500: '#997fa5',
    950: '#000000',
  },
}
SCSS
$custom: #997fa5;
$custom-light: #b7a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#997fa5",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 281.053,
    "s": 17.431,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63382,
    "c": 0.06322,
    "h": 315
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#997FA5
secondary
#BDC8B8
accent
#BA6E86
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #997FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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