#997BB2#997BB2

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

Color values

HEX#997BB2
RGBrgb(153, 123, 178)
HSLhsl(273, 26%, 59%)
HSVhsv(273, 31%, 70%)
CMYKcmyk(14%, 30.9%, 0%, 30.2%)
CIE-LABlab(56.24, 22.32, -24.74)
CIE-LCHlch(56.24, 33.31, 312.06°)
OKLaboklab(63.15% 0.0548 -0.0679)
OKLCHoklch(63.15% 0.087 308.9)
XYZxyz(28.2543, 24.1528, 45.2844)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BB2 #94B27B
analogous
#7E7BB2 #997BB2 #B27BB0
triadic
#997BB2 #B2997B #7BB299
tetradic
#997BB2 #B27E7B #94B27B #7BB0B2
square
#997BB2 #B27E7B #94B27B #7BB0B2
split-complementary
#997BB2 #B0B27B #7BB27E
monochromatic
#5B4271 #7B5897 #997BB2 #B7A2C9 #D5C8DF

Accessibility & contrast

On white

3.60
#997BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#997BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BB2#FFFFFF#000000##000000
##997BB21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997bb2;
/* rgb */ color: rgb(153, 123, 178);
/* oklch */ color: oklch(63.2% 0.087 308.9);
Tailwind
colors: {
  custom: {
    50: '#b7a1c9',
    500: '#997bb2',
    950: '#000000',
  },
}
SCSS
$custom: #997bb2;
$custom-light: #b7a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#997bb2",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 272.727,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63153,
    "c": 0.08724,
    "h": 308.9
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#997BB2
secondary
#C3CFBA
accent
#C36590
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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