#997EC6#997EC6

#997EC6 is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.6% C 0.109 H 300.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#997EC6
RGBrgb(153, 126, 198)
HSLhsl(263, 39%, 64%)
HSVhsv(263, 36%, 78%)
CMYKcmyk(22.7%, 36.4%, 0%, 22.4%)
CIE-LABlab(57.82, 25.20, -33.69)
CIE-LCHlch(57.82, 42.08, 306.80°)
OKLaboklab(64.63% 0.0554 -0.0935)
OKLCHoklch(64.63% 0.109 300.7)
XYZxyz(30.7885, 25.7711, 56.7674)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EC6 #ABC67E
analogous
#7E87C6 #997EC6 #BD7EC6
triadic
#997EC6 #C6997E #7EC699
tetradic
#997EC6 #C67E87 #ABC67E #7EC6BD
square
#997EC6 #C67E87 #ABC67E #7EC6BD
split-complementary
#997EC6 #C6BD7E #87C67E
monochromatic
#5B3E8C #7754B3 #997EC6 #BBA8D9 #DCD3EC

Accessibility & contrast

On white

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

On black

6.15
#997EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EC6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EC6#FFFFFF#000000##000000
##997EC61.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BC9
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#918A99
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997ec6;
/* rgb */ color: rgb(153, 126, 198);
/* oklch */ color: oklch(64.6% 0.109 300.7);
Tailwind
colors: {
  custom: {
    50: '#b8a3d7',
    500: '#997ec6',
    950: '#000000',
  },
}
SCSS
$custom: #997ec6;
$custom-light: #b8a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#997ec6",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 262.5,
    "s": 38.71,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64634,
    "c": 0.10868,
    "h": 300.7
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#997EC6
secondary
#D3DDC3
accent
#B23482
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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