#997BAF#997BAF

#997BAF is a light, moderate violet. Relative luminance 0.240; OKLCH L 63.0% C 0.083 H 310.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#997BAF
RGBrgb(153, 123, 175)
HSLhsl(275, 25%, 58%)
HSVhsv(275, 30%, 69%)
CMYKcmyk(12.6%, 29.7%, 0%, 31.4%)
CIE-LABlab(56.12, 21.65, -23.20)
CIE-LCHlch(56.12, 31.73, 313.03°)
OKLaboklab(63.02% 0.054 -0.0635)
OKLCHoklch(63.02% 0.083 310.4)
XYZxyz(27.9563, 24.0337, 43.7153)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BAF #91AF7B
analogous
#7F7BAF #997BAF #AF7BAB
triadic
#997BAF #AF997B #7BAF99
tetradic
#997BAF #AF7F7B #91AF7B #7BABAF
square
#997BAF #AF7F7B #91AF7B #7BABAF
split-complementary
#997BAF #ABAF7B #7BAF7F
monochromatic
#5B426D #7B5993 #997BAF #B6A1C6 #D4C7DD

Accessibility & contrast

On white

3.62
#997BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#997BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BAF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BAF#FFFFFF#000000##000000
##997BAF1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B1
Deuteranopia (green-blind)
#7987AD
Tritanopia (blue-blind)
#97828E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #997baf;
/* rgb */ color: rgb(153, 123, 175);
/* oklch */ color: oklch(63.0% 0.083 310.4);
Tailwind
colors: {
  custom: {
    50: '#b7a1c7',
    500: '#997baf',
    950: '#000000',
  },
}
SCSS
$custom: #997baf;
$custom-light: #b7a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#997baf",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 274.615,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.08334,
    "h": 310.4
  },
  "luminance": 0.24033
}

Semantic roles & 50–950 ramp

primary
#997BAF
secondary
#C1CDB9
accent
#C1678D
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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