#997CB2#997CB2

#997CB2 is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.3% C 0.085 H 308.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#997CB2
RGBrgb(153, 124, 178)
HSLhsl(272, 26%, 59%)
HSVhsv(272, 30%, 70%)
CMYKcmyk(14%, 30.3%, 0%, 30.2%)
CIE-LABlab(56.49, 21.74, -24.35)
CIE-LCHlch(56.49, 32.64, 311.75°)
OKLaboklab(63.34% 0.0533 -0.0668)
OKLCHoklch(63.34% 0.085 308.6)
XYZxyz(28.3789, 24.4022, 45.3259)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CB2 #95B27C
analogous
#7E7CB2 #997CB2 #B27CB0
triadic
#997CB2 #B2997C #7CB299
tetradic
#997CB2 #B27E7C #95B27C #7CB0B2
square
#997CB2 #B27E7C #95B27C #7CB0B2
split-complementary
#997CB2 #B0B27C #7CB27E
monochromatic
#5C4271 #7B5998 #997CB2 #B7A3C9 #D5C9DF

Accessibility & contrast

On white

3.57
#997CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#997CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CB2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CB2#FFFFFF#000000##000000
##997CB21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#7888B0
Tritanopia (blue-blind)
#96838F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997cb2;
/* rgb */ color: rgb(153, 124, 178);
/* oklch */ color: oklch(63.3% 0.085 308.6);
Tailwind
colors: {
  custom: {
    50: '#b7a2c9',
    500: '#997cb2',
    950: '#000000',
  },
}
SCSS
$custom: #997cb2;
$custom-light: #b7a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#997cb2",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 272.222,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.08544,
    "h": 308.6
  },
  "luminance": 0.24402
}

Semantic roles & 50–950 ramp

primary
#997CB2
secondary
#C4CFBA
accent
#C26590
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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