#997FBC#997FBC

#997FBC is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.093 H 303.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#997FBC
RGBrgb(153, 127, 188)
HSLhsl(266, 31%, 62%)
HSVhsv(266, 32%, 74%)
CMYKcmyk(18.6%, 32.4%, 0%, 26.3%)
CIE-LABlab(57.64, 22.27, -28.29)
CIE-LCHlch(57.64, 36.01, 308.21°)
OKLaboklab(64.36% 0.0515 -0.078)
OKLCHoklch(64.36% 0.093 303.4)
XYZxyz(29.8015, 25.5819, 50.9350)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FBC #A2BC7F
analogous
#7F84BC #997FBC #B87FBC
triadic
#997FBC #BC997F #7FBC99
tetradic
#997FBC #BC7F84 #A2BC7F #7FBCB8
square
#997FBC #BC7F84 #A2BC7F #7FBCB8
split-complementary
#997FBC #BCB87F #84BC7F
monochromatic
#5C427E #7957A7 #997FBC #B9A7D1 #D9CFE6

Accessibility & contrast

On white

3.43
#997FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#997FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FBC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FBC#FFFFFF#000000##000000
##997FBC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#938895
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997fbc;
/* rgb */ color: rgb(153, 127, 188);
/* oklch */ color: oklch(64.4% 0.093 303.4);
Tailwind
colors: {
  custom: {
    50: '#b8a4d0',
    500: '#997fbc',
    950: '#000000',
  },
}
SCSS
$custom: #997fbc;
$custom-light: #b8a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#997fbc",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 265.574,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.09348,
    "h": 303.4
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#997FBC
secondary
#CDD7C0
accent
#AA3B7B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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