#997FCB#997FCB

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

Color values

HEX#997FCB
RGBrgb(153, 127, 203)
HSLhsl(261, 42%, 65%)
HSVhsv(261, 37%, 80%)
CMYKcmyk(24.6%, 37.4%, 0%, 20.4%)
CIE-LABlab(58.29, 25.83, -35.80)
CIE-LCHlch(58.29, 44.14, 305.81°)
OKLaboklab(65.06% 0.0551 -0.0995)
OKLCHoklch(65.06% 0.114 299)
XYZxyz(31.5033, 26.2627, 59.8978)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FCB #B1CB7F
analogous
#7F8BCB #997FCB #BF7FCB
triadic
#997FCB #CB997F #7FCB99
tetradic
#997FCB #CB7F8B #B1CB7F #7FCBBF
square
#997FCB #CB7F8B #B1CB7F #7FCBBF
split-complementary
#997FCB #CBBF7F #8BCB7F
monochromatic
#5A3C94 #7653B9 #997FCB #BCABDD #DED6EE

Accessibility & contrast

On white

3.36
#997FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#997FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FCB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FCB#FFFFFF#000000##000000
##997FCB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#708CC9
Tritanopia (blue-blind)
#908C9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997fcb;
/* rgb */ color: rgb(153, 127, 203);
/* oklch */ color: oklch(65.1% 0.114 299.0);
Tailwind
colors: {
  custom: {
    50: '#b8a4db',
    500: '#997fcb',
    950: '#000000',
  },
}
SCSS
$custom: #997fcb;
$custom-light: #b8a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#997fcb",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 260.526,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.11377,
    "h": 299
  },
  "luminance": 0.26263
}

Semantic roles & 50–950 ramp

primary
#997FCB
secondary
#D7E0C6
accent
#B53088
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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