#997BB4#997BB4

#997BB4 is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.2% C 0.090 H 308.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#997BB4
RGBrgb(153, 123, 180)
HSLhsl(272, 28%, 59%)
HSVhsv(272, 32%, 71%)
CMYKcmyk(15%, 31.7%, 0%, 29.4%)
CIE-LABlab(56.32, 22.76, -25.76)
CIE-LCHlch(56.32, 34.37, 311.47°)
OKLaboklab(63.24% 0.0554 -0.0708)
OKLCHoklch(63.24% 0.09 308)
XYZxyz(28.4565, 24.2337, 46.3496)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BB4 #96B47B
analogous
#7D7BB4 #997BB4 #B47BB3
triadic
#997BB4 #B4997B #7BB499
tetradic
#997BB4 #B47D7B #96B47B #7BB3B4
square
#997BB4 #B47D7B #96B47B #7BB3B4
split-complementary
#997BB4 #B3B47B #7BB47D
monochromatic
#5C4173 #7B589A #997BB4 #B7A2CA #D5C9E0

Accessibility & contrast

On white

3.59
#997BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#997BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BB4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BB4#FFFFFF#000000##000000
##997BB41.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B6
Deuteranopia (green-blind)
#7787B2
Tritanopia (blue-blind)
#968390
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997bb4;
/* rgb */ color: rgb(153, 123, 180);
/* oklch */ color: oklch(63.2% 0.090 308.0);
Tailwind
colors: {
  custom: {
    50: '#b7a1ca',
    500: '#997bb4',
    950: '#000000',
  },
}
SCSS
$custom: #997bb4;
$custom-light: #b7a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#997bb4",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 271.579,
    "s": 27.536,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.08985,
    "h": 308
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#997BB4
secondary
#C5D1BA
accent
#C46491
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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