#997FC7#997FC7

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

Color values

HEX#997FC7
RGBrgb(153, 127, 199)
HSLhsl(262, 39%, 64%)
HSVhsv(262, 36%, 78%)
CMYKcmyk(23.1%, 36.2%, 0%, 22%)
CIE-LABlab(58.11, 24.87, -33.81)
CIE-LCHlch(58.11, 41.97, 306.33°)
OKLaboklab(64.87% 0.0542 -0.0938)
OKLCHoklch(64.87% 0.108 300)
XYZxyz(31.0328, 26.0744, 57.4197)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FC7 #ADC77F
analogous
#7F89C7 #997FC7 #BD7FC7
triadic
#997FC7 #C7997F #7FC799
tetradic
#997FC7 #C77F89 #ADC77F #7FC7BD
square
#997FC7 #C77F89 #ADC77F #7FC7BD
split-complementary
#997FC7 #C7BD7F #89C77F
monochromatic
#5B3E8E #7754B4 #997FC7 #BBAADA #DDD4EC

Accessibility & contrast

On white

3.38
#997FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#997FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FC7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FC7#FFFFFF#000000##000000
##997FC71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8BCA
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#918B9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997fc7;
/* rgb */ color: rgb(153, 127, 199);
/* oklch */ color: oklch(64.9% 0.108 300.0);
Tailwind
colors: {
  custom: {
    50: '#b8a4d8',
    500: '#997fc7',
    950: '#000000',
  },
}
SCSS
$custom: #997fc7;
$custom-light: #b8a4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#997fc7",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 261.667,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64869,
    "c": 0.10835,
    "h": 300
  },
  "luminance": 0.26075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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