#997BB3#997BB3

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

Color values

HEX#997BB3
RGBrgb(153, 123, 179)
HSLhsl(272, 27%, 59%)
HSVhsv(272, 31%, 70%)
CMYKcmyk(14.5%, 31.3%, 0%, 29.8%)
CIE-LABlab(56.28, 22.54, -25.25)
CIE-LCHlch(56.28, 33.84, 311.76°)
OKLaboklab(63.2% 0.0551 -0.0693)
OKLCHoklch(63.2% 0.089 308.5)
XYZxyz(28.3550, 24.1931, 45.8151)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BB3 #95B37B
analogous
#7D7BB3 #997BB3 #B37BB1
triadic
#997BB3 #B3997B #7BB399
tetradic
#997BB3 #B37D7B #95B37B #7BB1B3
square
#997BB3 #B37D7B #95B37B #7BB1B3
split-complementary
#997BB3 #B1B37B #7BB37D
monochromatic
#5C4272 #7B5899 #997BB3 #B7A2C9 #D5C9E0

Accessibility & contrast

On white

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

On black

5.84
#997BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BB3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BB3#FFFFFF#000000##000000
##997BB31.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#96838F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997bb3;
/* rgb */ color: rgb(153, 123, 179);
/* oklch */ color: oklch(63.2% 0.089 308.5);
Tailwind
colors: {
  custom: {
    50: '#b7a1ca',
    500: '#997bb3',
    950: '#000000',
  },
}
SCSS
$custom: #997bb3;
$custom-light: #b7a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#997bb3",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 272.143,
    "s": 26.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.08854,
    "h": 308.5
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#997BB3
secondary
#C4D0BA
accent
#C36591
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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