#997BB7#997BB7

#997BB7 is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.4% C 0.094 H 306.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#997BB7
RGBrgb(153, 123, 183)
HSLhsl(270, 29%, 60%)
HSVhsv(270, 33%, 72%)
CMYKcmyk(16.4%, 32.8%, 0%, 28.2%)
CIE-LABlab(56.44, 23.44, -27.29)
CIE-LCHlch(56.44, 35.97, 310.66°)
OKLaboklab(63.38% 0.0562 -0.0751)
OKLCHoklch(63.38% 0.094 306.8)
XYZxyz(28.7654, 24.3573, 47.9766)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BB7 #99B77B
analogous
#7B7BB7 #997BB7 #B77BB7
triadic
#997BB7 #B7997B #7BB799
tetradic
#997BB7 #B77B7B #99B77B #7BB7B7
square
#997BB7 #B77B7B #99B77B #7BB7B7
split-complementary
#997BB7 #B7B77B #7BB77B
monochromatic
#5C4177 #7A569E #997BB7 #B8A3CD #D6CAE2

Accessibility & contrast

On white

3.58
#997BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#997BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BB7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BB7#FFFFFF#000000##000000
##997BB71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F86B9
Deuteranopia (green-blind)
#7688B5
Tritanopia (blue-blind)
#958491
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997bb7;
/* rgb */ color: rgb(153, 123, 183);
/* oklch */ color: oklch(63.4% 0.094 306.8);
Tailwind
colors: {
  custom: {
    50: '#b8a1cc',
    500: '#997bb7',
    950: '#000000',
  },
}
SCSS
$custom: #997bb7;
$custom-light: #b8a1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#997bb7",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.09378,
    "h": 306.8
  },
  "luminance": 0.24357
}

Semantic roles & 50–950 ramp

primary
#997BB7
secondary
#C7D2BB
accent
#C66294
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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