#997BC9#997BC9

#997BC9 is a light, moderate violet. Relative luminance 0.252; OKLCH L 64.2% C 0.118 H 300.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#997BC9
RGBrgb(153, 123, 201)
HSLhsl(263, 42%, 64%)
HSVhsv(263, 39%, 79%)
CMYKcmyk(23.9%, 38.8%, 0%, 21.2%)
CIE-LABlab(57.23, 27.65, -36.32)
CIE-LCHlch(57.23, 45.65, 307.28°)
OKLaboklab(64.23% 0.0604 -0.101)
OKLCHoklch(64.23% 0.118 300.9)
XYZxyz(30.7601, 25.1552, 58.4819)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BC9 #ABC97B
analogous
#7B84C9 #997BC9 #C07BC9
triadic
#997BC9 #C9997B #7BC999
tetradic
#997BC9 #C97B84 #ABC97B #7BC9C0
square
#997BC9 #C97B84 #ABC97B #7BC9C0
split-complementary
#997BC9 #C9C07B #84C97B
monochromatic
#5B3B8F #7750B7 #997BC9 #BBA6DB #DCD2ED

Accessibility & contrast

On white

3.48
#997BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#997BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BC9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BC9#FFFFFF#000000##000000
##997BC91.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CC
Deuteranopia (green-blind)
#6D89C7
Tritanopia (blue-blind)
#908898
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997bc9;
/* rgb */ color: rgb(153, 123, 201);
/* oklch */ color: oklch(64.2% 0.118 300.9);
Tailwind
colors: {
  custom: {
    50: '#b8a1d9',
    500: '#997bc9',
    950: '#000000',
  },
}
SCSS
$custom: #997bc9;
$custom-light: #b8a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bc9",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 263.077,
    "s": 41.935,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64228,
    "c": 0.11771,
    "h": 300.9
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#997BC9
secondary
#D3DEC2
accent
#B53082
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F15
muted
#807E83

Preview Lab

Preview with #997BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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