#997DC7#997DC7

#997DC7 is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.5% C 0.112 H 300.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#997DC7
RGBrgb(153, 125, 199)
HSLhsl(263, 40%, 64%)
HSVhsv(263, 37%, 78%)
CMYKcmyk(23.1%, 37.2%, 0%, 22%)
CIE-LABlab(57.62, 26.02, -34.57)
CIE-LCHlch(57.62, 43.27, 306.97°)
OKLaboklab(64.5% 0.0571 -0.096)
OKLCHoklch(64.5% 0.112 300.7)
XYZxyz(30.7770, 25.5630, 57.3345)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DC7 #ABC77D
analogous
#7D86C7 #997DC7 #BE7DC7
triadic
#997DC7 #C7997D #7DC799
tetradic
#997DC7 #C77D86 #ABC77D #7DC7BE
square
#997DC7 #C77D86 #ABC77D #7DC7BE
split-complementary
#997DC7 #C7BE7D #86C77D
monochromatic
#5B3D8D #7752B5 #997DC7 #BBA8D9 #DCD3EC

Accessibility & contrast

On white

3.44
#997DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#997DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DC7#FFFFFF#000000##000000
##997DC71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACA
Deuteranopia (green-blind)
#708AC5
Tritanopia (blue-blind)
#918999
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997dc7;
/* rgb */ color: rgb(153, 125, 199);
/* oklch */ color: oklch(64.5% 0.112 300.7);
Tailwind
colors: {
  custom: {
    50: '#b8a3d8',
    500: '#997dc7',
    950: '#000000',
  },
}
SCSS
$custom: #997dc7;
$custom-light: #b8a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#997dc7",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 262.703,
    "s": 39.785,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.1117,
    "h": 300.7
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#997DC7
secondary
#D3DDC3
accent
#B33382
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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