#997FBB#997FBB

#997FBB is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.3% C 0.092 H 303.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#997FBB
RGBrgb(153, 127, 187)
HSLhsl(266, 31%, 62%)
HSVhsv(266, 32%, 73%)
CMYKcmyk(18.2%, 32.1%, 0%, 26.7%)
CIE-LABlab(57.60, 22.04, -27.79)
CIE-LCHlch(57.60, 35.47, 308.42°)
OKLaboklab(64.31% 0.0512 -0.0766)
OKLCHoklch(64.31% 0.092 303.8)
XYZxyz(29.6941, 25.5390, 50.3692)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FBB #A1BB7F
analogous
#7F83BB #997FBB #B77FBB
triadic
#997FBB #BB997F #7FBB99
tetradic
#997FBB #BB7F83 #A1BB7F #7FBBB7
square
#997FBB #BB7F83 #A1BB7F #7FBBB7
split-complementary
#997FBB #BBB77F #83BB7F
monochromatic
#5C427D #7958A5 #997FBB #B9A7D0 #D9CFE5

Accessibility & contrast

On white

3.44
#997FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#997FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FBB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FBB#FFFFFF#000000##000000
##997FBB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABD
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#948895
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997fbb;
/* rgb */ color: rgb(153, 127, 187);
/* oklch */ color: oklch(64.3% 0.092 303.8);
Tailwind
colors: {
  custom: {
    50: '#b8a4cf',
    500: '#997fbb',
    950: '#000000',
  },
}
SCSS
$custom: #997fbb;
$custom-light: #b8a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#997fbb",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 266,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64311,
    "c": 0.09213,
    "h": 303.8
  },
  "luminance": 0.25539
}

Semantic roles & 50–950 ramp

primary
#997FBB
secondary
#CCD6C0
accent
#A93C7A
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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