#997FC4#997FC4

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

Color values

HEX#997FC4
RGBrgb(153, 127, 196)
HSLhsl(263, 37%, 63%)
HSVhsv(263, 35%, 77%)
CMYKcmyk(21.9%, 35.2%, 0%, 23.1%)
CIE-LABlab(57.98, 24.15, -32.32)
CIE-LCHlch(57.98, 40.34, 306.77°)
OKLaboklab(64.73% 0.0535 -0.0895)
OKLCHoklch(64.73% 0.104 300.9)
XYZxyz(30.6879, 25.9365, 55.6034)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FC4 #AAC47F
analogous
#7F87C4 #997FC4 #BB7FC4
triadic
#997FC4 #C4997F #7FC499
tetradic
#997FC4 #C47F87 #AAC47F #7FC4BB
square
#997FC4 #C47F87 #AAC47F #7FC4BB
split-complementary
#997FC4 #C4BB7F #87C47F
monochromatic
#5B3F89 #7855B1 #997FC4 #BAA9D7 #DCD3EB

Accessibility & contrast

On white

3.39
#997FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#997FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FC4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FC4#FFFFFF#000000##000000
##997FC41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8BC7
Deuteranopia (green-blind)
#748BC2
Tritanopia (blue-blind)
#918A98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997fc4;
/* rgb */ color: rgb(153, 127, 196);
/* oklch */ color: oklch(64.7% 0.104 300.9);
Tailwind
colors: {
  custom: {
    50: '#b8a4d6',
    500: '#997fc4',
    950: '#000000',
  },
}
SCSS
$custom: #997fc4;
$custom-light: #b8a4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#997fc4",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 262.609,
    "s": 36.898,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64726,
    "c": 0.10429,
    "h": 300.9
  },
  "luminance": 0.25937
}

Semantic roles & 50–950 ramp

primary
#997FC4
secondary
#D2DCC3
accent
#B03682
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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