#997EBF#997EBF

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

Color values

HEX#997EBF
RGBrgb(153, 126, 191)
HSLhsl(265, 34%, 62%)
HSVhsv(265, 34%, 75%)
CMYKcmyk(19.9%, 34%, 0%, 25.1%)
CIE-LABlab(57.52, 23.55, -30.19)
CIE-LCHlch(57.52, 38.29, 307.96°)
OKLaboklab(64.3% 0.0537 -0.0834)
OKLCHoklch(64.3% 0.099 302.8)
XYZxyz(29.9997, 25.4556, 52.6131)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EBF #A4BF7E
analogous
#7E84BF #997EBF #BA7EBF
triadic
#997EBF #BF997E #7EBF99
tetradic
#997EBF #BF7E84 #A4BF7E #7EBFBA
square
#997EBF #BF7E84 #A4BF7E #7EBFBA
split-complementary
#997EBF #BFBA7E #84BF7E
monochromatic
#5C4182 #7955AB #997EBF #B9A7D3 #DAD0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997EBF#FFFFFF#000000##000000
##997EBF1.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)
#708AC2
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#938896
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ebf;
/* rgb */ color: rgb(153, 126, 191);
/* oklch */ color: oklch(64.3% 0.099 302.8);
Tailwind
colors: {
  custom: {
    50: '#b8a3d2',
    500: '#997ebf',
    950: '#000000',
  },
}
SCSS
$custom: #997ebf;
$custom-light: #b8a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#997ebf",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 264.923,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.09923,
    "h": 302.8
  },
  "luminance": 0.25456
}

Semantic roles & 50–950 ramp

primary
#997EBF
secondary
#CED8C0
accent
#AC397D
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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