#997FB7#997FB7

#997FB7 is a light, moderate violet. Relative luminance 0.254; OKLCH L 64.1% C 0.087 H 305.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#997FB7
RGBrgb(153, 127, 183)
HSLhsl(268, 28%, 61%)
HSVhsv(268, 31%, 72%)
CMYKcmyk(16.4%, 30.6%, 0%, 28.2%)
CIE-LABlab(57.43, 21.13, -25.76)
CIE-LCHlch(57.43, 33.31, 309.36°)
OKLaboklab(64.13% 0.0502 -0.0708)
OKLCHoklch(64.13% 0.087 305.3)
XYZxyz(29.2718, 25.3701, 48.1454)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FB7 #9DB77F
analogous
#7F81B7 #997FB7 #B57FB7
triadic
#997FB7 #B7997F #7FB799
tetradic
#997FB7 #B77F81 #9DB77F #7FB7B5
square
#997FB7 #B77F81 #9DB77F #7FB7B5
split-complementary
#997FB7 #B7B57F #81B77F
monochromatic
#5C4478 #7A5A9F #997FB7 #B8A6CD #D7CDE3

Accessibility & contrast

On white

3.46
#997FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#997FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FB7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FB7#FFFFFF#000000##000000
##997FB71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7489B9
Deuteranopia (green-blind)
#798AB5
Tritanopia (blue-blind)
#958793
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997fb7;
/* rgb */ color: rgb(153, 127, 183);
/* oklch */ color: oklch(64.1% 0.087 305.3);
Tailwind
colors: {
  custom: {
    50: '#b7a4cc',
    500: '#997fb7',
    950: '#000000',
  },
}
SCSS
$custom: #997fb7;
$custom-light: #b7a4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#997fb7",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 267.857,
    "s": 28,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.08675,
    "h": 305.3
  },
  "luminance": 0.2537
}

Semantic roles & 50–950 ramp

primary
#997FB7
secondary
#CAD4BE
accent
#A73F76
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F13
muted
#807F82

Preview Lab

Preview with #997FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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