#997FC8#997FC8

#997FC8 is a light, moderate violet. Relative luminance 0.261; OKLCH L 64.9% C 0.110 H 299.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#997FC8
RGBrgb(153, 127, 200)
HSLhsl(261, 40%, 64%)
HSVhsv(261, 37%, 78%)
CMYKcmyk(23.5%, 36.5%, 0%, 21.6%)
CIE-LABlab(58.15, 25.11, -34.31)
CIE-LCHlch(58.15, 42.51, 306.19°)
OKLaboklab(64.92% 0.0544 -0.0953)
OKLCHoklch(64.92% 0.11 299.7)
XYZxyz(31.1492, 26.1210, 58.0332)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FC8 #AEC87F
analogous
#7F8AC8 #997FC8 #BE7FC8
triadic
#997FC8 #C8997F #7FC899
tetradic
#997FC8 #C87F8A #AEC87F #7FC8BE
square
#997FC8 #C87F8A #AEC87F #7FC8BE
split-complementary
#997FC8 #C8BE7F #8AC87F
monochromatic
#5B3D8F #7754B6 #997FC8 #BBAADA #DDD5ED

Accessibility & contrast

On white

3.37
#997FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#997FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FC8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FC8#FFFFFF#000000##000000
##997FC81.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCB
Deuteranopia (green-blind)
#728BC6
Tritanopia (blue-blind)
#908B9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997fc8;
/* rgb */ color: rgb(153, 127, 200);
/* oklch */ color: oklch(64.9% 0.110 299.7);
Tailwind
colors: {
  custom: {
    50: '#b8a4d9',
    500: '#997fc8',
    950: '#000000',
  },
}
SCSS
$custom: #997fc8;
$custom-light: #b8a4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#997fc8",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 261.37,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.10971,
    "h": 299.7
  },
  "luminance": 0.26121
}

Semantic roles & 50–950 ramp

primary
#997FC8
secondary
#D5DEC5
accent
#B33385
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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