#997FB9#997FB9

#997FB9 is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.2% C 0.089 H 304.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#997FB9
RGBrgb(153, 127, 185)
HSLhsl(267, 29%, 61%)
HSVhsv(267, 31%, 73%)
CMYKcmyk(17.3%, 31.4%, 0%, 27.5%)
CIE-LABlab(57.52, 21.58, -26.77)
CIE-LCHlch(57.52, 34.39, 308.87°)
OKLaboklab(64.22% 0.0507 -0.0737)
OKLCHoklch(64.22% 0.089 304.5)
XYZxyz(29.4815, 25.4539, 49.2495)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FB9 #9FB97F
analogous
#7F82B9 #997FB9 #B67FB9
triadic
#997FB9 #B9997F #7FB999
tetradic
#997FB9 #B97F82 #9FB97F #7FB9B6
square
#997FB9 #B97F82 #9FB97F #7FB9B6
split-complementary
#997FB9 #B9B67F #82B97F
monochromatic
#5C437B #7A59A2 #997FB9 #B9A7CF #D8CEE4

Accessibility & contrast

On white

3.45
#997FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#997FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FB9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FB9#FFFFFF#000000##000000
##997FB91.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7389BB
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#948794
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997fb9;
/* rgb */ color: rgb(153, 127, 185);
/* oklch */ color: oklch(64.2% 0.089 304.5);
Tailwind
colors: {
  custom: {
    50: '#b8a4ce',
    500: '#997fb9',
    950: '#000000',
  },
}
SCSS
$custom: #997fb9;
$custom-light: #b8a4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#997fb9",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 185
  },
  "hsl": {
    "h": 266.897,
    "s": 29.293,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.08944,
    "h": 304.5
  },
  "luminance": 0.25454
}

Semantic roles & 50–950 ramp

primary
#997FB9
secondary
#CBD5BF
accent
#A83E78
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F13
muted
#807F82

Preview Lab

Preview with #997FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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