#997DCC#997DCC

#997DCC is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.7% C 0.118 H 299.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#997DCC
RGBrgb(153, 125, 204)
HSLhsl(261, 44%, 65%)
HSVhsv(261, 39%, 80%)
CMYKcmyk(25%, 38.7%, 0%, 20%)
CIE-LABlab(57.85, 27.23, -37.05)
CIE-LCHlch(57.85, 45.98, 306.31°)
OKLaboklab(64.74% 0.0581 -0.1032)
OKLCHoklch(64.74% 0.118 299.4)
XYZxyz(31.3671, 25.7990, 60.4422)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DCC #B0CC7D
analogous
#7D89CC #997DCC #C17DCC
triadic
#997DCC #CC997D #7DCC99
tetradic
#997DCC #CC7D89 #B0CC7D #7DCCC1
square
#997DCC #CC7D89 #B0CC7D #7DCCC1
split-complementary
#997DCC #CCC17D #89CC7D
monochromatic
#5A3A94 #7751BB #997DCC #BBA9DD #DED5EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997DCC#FFFFFF#000000##000000
##997DCC1.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)
#698BCF
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#8F8A9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997dcc;
/* rgb */ color: rgb(153, 125, 204);
/* oklch */ color: oklch(64.7% 0.118 299.4);
Tailwind
colors: {
  custom: {
    50: '#b8a3dc',
    500: '#997dcc',
    950: '#000000',
  },
}
SCSS
$custom: #997dcc;
$custom-light: #b8a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997dcc",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 261.266,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.11842,
    "h": 299.4
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#997DCC
secondary
#D6E0C5
accent
#B72F87
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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