#997BCC#997BCC

#997BCC is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.4% C 0.122 H 300.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#997BCC
RGBrgb(153, 123, 204)
HSLhsl(262, 44%, 64%)
HSVhsv(262, 40%, 80%)
CMYKcmyk(25%, 39.7%, 0%, 20%)
CIE-LABlab(57.36, 28.38, -37.80)
CIE-LCHlch(57.36, 47.27, 306.89°)
OKLaboklab(64.38% 0.061 -0.1053)
OKLCHoklch(64.38% 0.122 300.1)
XYZxyz(31.1165, 25.2977, 60.3587)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BCC #AECC7B
analogous
#7B86CC #997BCC #C27BCC
triadic
#997BCC #CC997B #7BCC99
tetradic
#997BCC #CC7B86 #AECC7B #7BCCC2
square
#997BCC #CC7B86 #AECC7B #7BCCC2
split-complementary
#997BCC #CCC27B #86CC7B
monochromatic
#5B3994 #774FBB #997BCC #BBA7DD #DDD3EE

Accessibility & contrast

On white

3.47
#997BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#997BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BCC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BCC#FFFFFF#000000##000000
##997BCC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#90899A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997bcc;
/* rgb */ color: rgb(153, 123, 204);
/* oklch */ color: oklch(64.4% 0.122 300.1);
Tailwind
colors: {
  custom: {
    50: '#b8a1dc',
    500: '#997bcc',
    950: '#000000',
  },
}
SCSS
$custom: #997bcc;
$custom-light: #b8a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997bcc",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 262.222,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.12171,
    "h": 300.1
  },
  "luminance": 0.25298
}

Semantic roles & 50–950 ramp

primary
#997BCC
secondary
#D5E0C3
accent
#B72E85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #997BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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