#997BC8#997BC8

#997BC8 is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.2% C 0.116 H 301.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#997BC8
RGBrgb(153, 123, 200)
HSLhsl(263, 41%, 63%)
HSVhsv(263, 39%, 78%)
CMYKcmyk(23.5%, 38.5%, 0%, 21.6%)
CIE-LABlab(57.18, 27.41, -35.83)
CIE-LCHlch(57.18, 45.11, 307.42°)
OKLaboklab(64.18% 0.0602 -0.0996)
OKLCHoklch(64.18% 0.116 301.1)
XYZxyz(30.6429, 25.1083, 57.8644)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BC8 #AAC87B
analogous
#7B83C8 #997BC8 #BF7BC8
triadic
#997BC8 #C8997B #7BC899
tetradic
#997BC8 #C87B83 #AAC87B #7BC8BF
square
#997BC8 #C87B83 #AAC87B #7BC8BF
split-complementary
#997BC8 #C8BF7B #83C87B
monochromatic
#5B3B8E #7850B6 #997BC8 #BAA6DA #DCD1EC

Accessibility & contrast

On white

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

On black

6.02
#997BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BC8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BC8#FFFFFF#000000##000000
##997BC81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CB
Deuteranopia (green-blind)
#6E89C6
Tritanopia (blue-blind)
#918898
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997bc8;
/* rgb */ color: rgb(153, 123, 200);
/* oklch */ color: oklch(64.2% 0.116 301.1);
Tailwind
colors: {
  custom: {
    50: '#b8a1d9',
    500: '#997bc8',
    950: '#000000',
  },
}
SCSS
$custom: #997bc8;
$custom-light: #b8a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bc8",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 263.377,
    "s": 41.176,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.11637,
    "h": 301.1
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#997BC8
secondary
#D2DDC2
accent
#B43181
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #997BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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