#997BC5#997BC5

#997BC5 is a light, moderate violet. Relative luminance 0.250; OKLCH L 64.0% C 0.112 H 302.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#997BC5
RGBrgb(153, 123, 197)
HSLhsl(264, 39%, 63%)
HSVhsv(264, 38%, 77%)
CMYKcmyk(22.3%, 37.6%, 0%, 22.7%)
CIE-LABlab(57.05, 26.70, -34.33)
CIE-LCHlch(57.05, 43.49, 307.87°)
OKLaboklab(64.03% 0.0595 -0.0953)
OKLCHoklch(64.03% 0.112 302)
XYZxyz(30.2957, 24.9694, 56.0360)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BC5 #A7C57B
analogous
#7B82C5 #997BC5 #BE7BC5
triadic
#997BC5 #C5997B #7BC599
tetradic
#997BC5 #C57B82 #A7C57B #7BC5BE
square
#997BC5 #C57B82 #A7C57B #7BC5BE
split-complementary
#997BC5 #C5BE7B #82C57B
monochromatic
#5C3C89 #7850B2 #997BC5 #BAA6D8 #DBD0EA

Accessibility & contrast

On white

3.50
#997BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#997BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BC5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BC5#FFFFFF#000000##000000
##997BC51.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6988C8
Deuteranopia (green-blind)
#6F89C3
Tritanopia (blue-blind)
#918797
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997bc5;
/* rgb */ color: rgb(153, 123, 197);
/* oklch */ color: oklch(64.0% 0.112 302.0);
Tailwind
colors: {
  custom: {
    50: '#b8a1d7',
    500: '#997bc5',
    950: '#000000',
  },
}
SCSS
$custom: #997bc5;
$custom-light: #b8a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#997bc5",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 264.324,
    "s": 38.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64032,
    "c": 0.11237,
    "h": 302
  },
  "luminance": 0.24969
}

Semantic roles & 50–950 ramp

primary
#997BC5
secondary
#D0DBC1
accent
#B2347F
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #997BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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