#997BD6#997BD6

#997BD6 is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.9% C 0.135 H 297.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#997BD6
RGBrgb(153, 123, 214)
HSLhsl(260, 53%, 66%)
HSVhsv(260, 43%, 84%)
CMYKcmyk(28.5%, 42.5%, 0%, 16.1%)
CIE-LABlab(57.84, 30.84, -42.70)
CIE-LCHlch(57.84, 52.67, 305.84°)
OKLaboklab(64.89% 0.0628 -0.1195)
OKLCHoklch(64.89% 0.135 297.7)
XYZxyz(32.3545, 25.7930, 66.8793)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BD6 #B8D67B
analogous
#7B8AD6 #997BD6 #C67BD6
triadic
#997BD6 #D6997B #7BD699
tetradic
#997BD6 #D67B8A #B8D67B #7BD6C6
square
#997BD6 #D67B8A #B8D67B #7BD6C6
split-complementary
#997BD6 #D6C67B #8AD67B
monochromatic
#5833A4 #754CC7 #997BD6 #BDAAE5 #E1D8F3

Accessibility & contrast

On white

3.41
#997BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#997BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BD6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BD6#FFFFFF#000000##000000
##997BD61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD9
Deuteranopia (green-blind)
#668AD4
Tritanopia (blue-blind)
#8D8B9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997bd6;
/* rgb */ color: rgb(153, 123, 214);
/* oklch */ color: oklch(64.9% 0.135 297.7);
Tailwind
colors: {
  custom: {
    50: '#b9a1e3',
    500: '#997bd6',
    950: '#000000',
  },
}
SCSS
$custom: #997bd6;
$custom-light: #b9a1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#997bd6",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 259.78,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64893,
    "c": 0.13501,
    "h": 297.7
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#997BD6
secondary
#DBE5C7
accent
#C0258D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #997BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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