#997BC7#997BC7

#997BC7 is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.1% C 0.115 H 301.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#997BC7
RGBrgb(153, 123, 199)
HSLhsl(264, 40%, 63%)
HSVhsv(264, 38%, 78%)
CMYKcmyk(23.1%, 38.2%, 0%, 22%)
CIE-LABlab(57.14, 27.17, -35.33)
CIE-LCHlch(57.14, 44.57, 307.56°)
OKLaboklab(64.13% 0.06 -0.0982)
OKLCHoklch(64.13% 0.115 301.4)
XYZxyz(30.5264, 25.0617, 57.2509)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BC7 #A9C77B
analogous
#7B83C7 #997BC7 #BF7BC7
triadic
#997BC7 #C7997B #7BC799
tetradic
#997BC7 #C77B83 #A9C77B #7BC7BF
square
#997BC7 #C77B83 #A9C77B #7BC7BF
split-complementary
#997BC7 #C7BF7B #83C77B
monochromatic
#5B3B8C #7850B5 #997BC7 #BAA6D9 #DBD1EB

Accessibility & contrast

On white

3.49
#997BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#997BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BC7#FFFFFF#000000##000000
##997BC71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6989CA
Deuteranopia (green-blind)
#6E89C5
Tritanopia (blue-blind)
#918798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997bc7;
/* rgb */ color: rgb(153, 123, 199);
/* oklch */ color: oklch(64.1% 0.115 301.4);
Tailwind
colors: {
  custom: {
    50: '#b8a1d8',
    500: '#997bc7',
    950: '#000000',
  },
}
SCSS
$custom: #997bc7;
$custom-light: #b8a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#997bc7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 263.684,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.11504,
    "h": 301.4
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#997BC7
secondary
#D2DDC1
accent
#B33280
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #997BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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