#997FBF#997FBF

#997FBF is a light, moderate violet. Relative luminance 0.257; OKLCH L 64.5% C 0.098 H 302.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#997FBF
RGBrgb(153, 127, 191)
HSLhsl(264, 33%, 62%)
HSVhsv(264, 34%, 75%)
CMYKcmyk(19.9%, 33.5%, 0%, 25.1%)
CIE-LABlab(57.76, 22.97, -29.81)
CIE-LCHlch(57.76, 37.63, 307.62°)
OKLaboklab(64.49% 0.0523 -0.0823)
OKLCHoklch(64.49% 0.098 302.4)
XYZxyz(30.1282, 25.7126, 52.6559)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FBF #A5BF7F
analogous
#7F85BF #997FBF #B97FBF
triadic
#997FBF #BF997F #7FBF99
tetradic
#997FBF #BF7F85 #A5BF7F #7FBFB9
square
#997FBF #BF7F85 #A5BF7F #7FBFB9
split-complementary
#997FBF #BFB97F #85BF7F
monochromatic
#5C4182 #7856AB #997FBF #BAA8D3 #DAD1E8

Accessibility & contrast

On white

3.42
#997FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#997FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FBF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FBF#FFFFFF#000000##000000
##997FBF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC2
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#938996
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997fbf;
/* rgb */ color: rgb(153, 127, 191);
/* oklch */ color: oklch(64.5% 0.098 302.4);
Tailwind
colors: {
  custom: {
    50: '#b8a4d2',
    500: '#997fbf',
    950: '#000000',
  },
}
SCSS
$custom: #997fbf;
$custom-light: #b8a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#997fbf",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 264.375,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.09752,
    "h": 302.4
  },
  "luminance": 0.25713
}

Semantic roles & 50–950 ramp

primary
#997FBF
secondary
#CFD9C1
accent
#AC397E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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