#997FCC#997FCC

#997FCC is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.1% C 0.115 H 298.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#997FCC
RGBrgb(153, 127, 204)
HSLhsl(260, 43%, 65%)
HSVhsv(260, 38%, 80%)
CMYKcmyk(25%, 37.7%, 0%, 20%)
CIE-LABlab(58.33, 26.07, -36.29)
CIE-LCHlch(58.33, 44.69, 305.69°)
OKLaboklab(65.11% 0.0553 -0.101)
OKLCHoklch(65.11% 0.115 298.7)
XYZxyz(31.6228, 26.3105, 60.5275)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FCC #B2CC7F
analogous
#7F8BCC #997FCC #C07FCC
triadic
#997FCC #CC997F #7FCC99
tetradic
#997FCC #CC7F8B #B2CC7F #7FCCC0
square
#997FCC #CC7F8B #B2CC7F #7FCCC0
split-complementary
#997FCC #CCC07F #8BCC7F
monochromatic
#5A3B95 #7653BB #997FCC #BCABDD #DFD7EF

Accessibility & contrast

On white

3.35
#997FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#997FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FCC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FCC#FFFFFF#000000##000000
##997FCC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#8F8C9C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997fcc;
/* rgb */ color: rgb(153, 127, 204);
/* oklch */ color: oklch(65.1% 0.115 298.7);
Tailwind
colors: {
  custom: {
    50: '#b8a4dc',
    500: '#997fcc',
    950: '#000000',
  },
}
SCSS
$custom: #997fcc;
$custom-light: #b8a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997fcc",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 260.26,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.11512,
    "h": 298.7
  },
  "luminance": 0.26311
}

Semantic roles & 50–950 ramp

primary
#997FCC
secondary
#D8E1C6
accent
#B62F89
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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