#997BC4#997BC4

#997BC4 is a light, moderate violet. Relative luminance 0.249; OKLCH L 64.0% C 0.111 H 302.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#997BC4
RGBrgb(153, 123, 196)
HSLhsl(265, 38%, 63%)
HSVhsv(265, 37%, 77%)
CMYKcmyk(21.9%, 37.2%, 0%, 23.1%)
CIE-LABlab(57.00, 26.46, -33.84)
CIE-LCHlch(57.00, 42.95, 308.02°)
OKLaboklab(63.98% 0.0593 -0.0939)
OKLCHoklch(63.98% 0.111 302.3)
XYZxyz(30.1815, 24.9237, 55.4346)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BC4 #A6C47B
analogous
#7B81C4 #997BC4 #BE7BC4
triadic
#997BC4 #C4997B #7BC499
tetradic
#997BC4 #C47B81 #A6C47B #7BC4BE
square
#997BC4 #C47B81 #A6C47B #7BC4BE
split-complementary
#997BC4 #C4BE7B #81C47B
monochromatic
#5C3D88 #7851B1 #997BC4 #BAA5D7 #DAD0EA

Accessibility & contrast

On white

3.51
#997BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#997BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BC4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BC4#FFFFFF#000000##000000
##997BC41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A88C7
Deuteranopia (green-blind)
#7089C2
Tritanopia (blue-blind)
#928796
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997bc4;
/* rgb */ color: rgb(153, 123, 196);
/* oklch */ color: oklch(64.0% 0.111 302.3);
Tailwind
colors: {
  custom: {
    50: '#b8a1d6',
    500: '#997bc4',
    950: '#000000',
  },
}
SCSS
$custom: #997bc4;
$custom-light: #b8a1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#997bc4",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 264.658,
    "s": 38.22,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.11104,
    "h": 302.3
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#997BC4
secondary
#D0DBC0
accent
#B1347E
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #997BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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