#997DB5#997DB5

#997DB5 is a light, moderate violet. Relative luminance 0.248; OKLCH L 63.7% C 0.088 H 306.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#997DB5
RGBrgb(153, 125, 181)
HSLhsl(270, 27%, 60%)
HSVhsv(270, 31%, 71%)
CMYKcmyk(15.5%, 30.9%, 0%, 29%)
CIE-LABlab(56.86, 21.83, -25.51)
CIE-LCHlch(56.86, 33.57, 310.56°)
OKLaboklab(63.66% 0.0526 -0.07)
OKLCHoklch(63.66% 0.088 306.9)
XYZxyz(28.8094, 24.7759, 46.9716)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DB5 #99B57D
analogous
#7D7DB5 #997DB5 #B57DB5
triadic
#997DB5 #B5997D #7DB599
tetradic
#997DB5 #B57D7D #99B57D #7DB5B5
square
#997DB5 #B57D7D #99B57D #7DB5B5
split-complementary
#997DB5 #B5B57D #7DB57D
monochromatic
#5C4375 #7A599C #997DB5 #B8A4CB #D6CBE1

Accessibility & contrast

On white

3.53
#997DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#997DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DB5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DB5#FFFFFF#000000##000000
##997DB51.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7287B7
Deuteranopia (green-blind)
#7889B3
Tritanopia (blue-blind)
#958591
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997db5;
/* rgb */ color: rgb(153, 125, 181);
/* oklch */ color: oklch(63.7% 0.088 306.9);
Tailwind
colors: {
  custom: {
    50: '#b7a3cb',
    500: '#997db5',
    950: '#000000',
  },
}
SCSS
$custom: #997db5;
$custom-light: #b7a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#997db5",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 270,
    "s": 27.451,
    "l": 60
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.08761,
    "h": 306.9
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#997DB5
secondary
#C7D2BC
accent
#C46494
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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