#997FA7#997FA7

#997FA7 is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.5% C 0.066 H 313.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#997FA7
RGBrgb(153, 127, 167)
HSLhsl(279, 19%, 58%)
HSVhsv(279, 24%, 65%)
CMYKcmyk(8.4%, 24%, 0%, 34.5%)
CIE-LABlab(56.82, 17.61, -17.53)
CIE-LCHlch(56.82, 24.85, 315.14°)
OKLaboklab(63.46% 0.0454 -0.0476)
OKLCHoklch(63.46% 0.066 313.7)
XYZxyz(27.7002, 24.7414, 39.8680)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FA7 #8DA77F
analogous
#857FA7 #997FA7 #A77FA1
triadic
#997FA7 #A7997F #7FA799
tetradic
#997FA7 #A7857F #8DA77F #7FA1A7
square
#997FA7 #A7857F #8DA77F #7FA1A7
split-complementary
#997FA7 #A1A77F #7FA785
monochromatic
#5B4666 #7B5F8A #997FA7 #B6A3C0 #D3C8D9

Accessibility & contrast

On white

3.53
#997FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#997FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FA7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FA7#FFFFFF#000000##000000
##997FA71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987A9
Deuteranopia (green-blind)
#7F89A6
Tritanopia (blue-blind)
#98848D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997fa7;
/* rgb */ color: rgb(153, 127, 167);
/* oklch */ color: oklch(63.5% 0.066 313.7);
Tailwind
colors: {
  custom: {
    50: '#b7a4c1',
    500: '#997fa7',
    950: '#000000',
  },
}
SCSS
$custom: #997fa7;
$custom-light: #b7a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#997fa7",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 279,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.06574,
    "h": 313.7
  },
  "luminance": 0.24741
}

Semantic roles & 50–950 ramp

primary
#997FA7
secondary
#BEC9B9
accent
#BB6D88
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #997FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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