#997EC8#997EC8

#997EC8 is a light, moderate violet. Relative luminance 0.259; OKLCH L 64.7% C 0.111 H 300.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#997EC8
RGBrgb(153, 126, 200)
HSLhsl(262, 40%, 64%)
HSVhsv(262, 37%, 78%)
CMYKcmyk(23.5%, 37%, 0%, 21.6%)
CIE-LABlab(57.91, 25.68, -34.69)
CIE-LCHlch(57.91, 43.16, 306.51°)
OKLaboklab(64.73% 0.0559 -0.0963)
OKLCHoklch(64.73% 0.111 300.1)
XYZxyz(31.0207, 25.8640, 57.9904)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EC8 #ADC87E
analogous
#7E88C8 #997EC8 #BE7EC8
triadic
#997EC8 #C8997E #7EC899
tetradic
#997EC8 #C87E88 #ADC87E #7EC8BE
square
#997EC8 #C87E88 #ADC87E #7EC8BE
split-complementary
#997EC8 #C8BE7E #88C87E
monochromatic
#5B3D8F #7753B6 #997EC8 #BBA9DA #DDD4ED

Accessibility & contrast

On white

3.40
#997EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#997EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EC8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EC8#FFFFFF#000000##000000
##997EC81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#718BC6
Tritanopia (blue-blind)
#908A9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997ec8;
/* rgb */ color: rgb(153, 126, 200);
/* oklch */ color: oklch(64.7% 0.111 300.1);
Tailwind
colors: {
  custom: {
    50: '#b8a3d9',
    500: '#997ec8',
    950: '#000000',
  },
}
SCSS
$custom: #997ec8;
$custom-light: #b8a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ec8",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 261.892,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.11137,
    "h": 300.1
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

primary
#997EC8
secondary
#D4DEC4
accent
#B33284
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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