#997EC7#997EC7

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

Color values

HEX#997EC7
RGBrgb(153, 126, 199)
HSLhsl(262, 39%, 64%)
HSVhsv(262, 37%, 78%)
CMYKcmyk(23.1%, 36.7%, 0%, 22%)
CIE-LABlab(57.86, 25.44, -34.19)
CIE-LCHlch(57.86, 42.62, 306.65°)
OKLaboklab(64.68% 0.0556 -0.0949)
OKLCHoklch(64.68% 0.11 300.4)
XYZxyz(30.9043, 25.8174, 57.3769)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EC7 #ACC77E
analogous
#7E87C7 #997EC7 #BD7EC7
triadic
#997EC7 #C7997E #7EC799
tetradic
#997EC7 #C77E87 #ACC77E #7EC7BD
square
#997EC7 #C77E87 #ACC77E #7EC7BD
split-complementary
#997EC7 #C7BD7E #87C77E
monochromatic
#5B3D8D #7753B4 #997EC7 #BBA9DA #DCD3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997EC7#FFFFFF#000000##000000
##997EC71.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)
#6C8BCA
Deuteranopia (green-blind)
#718BC5
Tritanopia (blue-blind)
#918A99
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997ec7;
/* rgb */ color: rgb(153, 126, 199);
/* oklch */ color: oklch(64.7% 0.110 300.4);
Tailwind
colors: {
  custom: {
    50: '#b8a3d8',
    500: '#997ec7',
    950: '#000000',
  },
}
SCSS
$custom: #997ec7;
$custom-light: #b8a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#997ec7",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 262.192,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.11003,
    "h": 300.4
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#997EC7
secondary
#D4DDC4
accent
#B23383
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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