#997DBE#997DBE

#997DBE is a light, moderate violet. Relative luminance 0.252; OKLCH L 64.1% C 0.100 H 303.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#997DBE
RGBrgb(153, 125, 190)
HSLhsl(266, 33%, 62%)
HSVhsv(266, 34%, 75%)
CMYKcmyk(19.5%, 34.2%, 0%, 25.5%)
CIE-LABlab(57.23, 23.89, -30.07)
CIE-LCHlch(57.23, 38.41, 308.47°)
OKLaboklab(64.07% 0.055 -0.0831)
OKLCHoklch(64.07% 0.1 303.5)
XYZxyz(29.7628, 25.1573, 51.9931)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DBE #A2BE7D
analogous
#7D82BE #997DBE #BA7DBE
triadic
#997DBE #BE997D #7DBE99
tetradic
#997DBE #BE7D82 #A2BE7D #7DBEBA
square
#997DBE #BE7D82 #A2BE7D #7DBEBA
split-complementary
#997DBE #BEBA7D #82BE7D
monochromatic
#5C4080 #7955A9 #997DBE #B9A6D2 #D9CFE7

Accessibility & contrast

On white

3.48
#997DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#997DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DBE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DBE#FFFFFF#000000##000000
##997DBE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#938795
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997dbe;
/* rgb */ color: rgb(153, 125, 190);
/* oklch */ color: oklch(64.1% 0.100 303.5);
Tailwind
colors: {
  custom: {
    50: '#b8a3d2',
    500: '#997dbe',
    950: '#000000',
  },
}
SCSS
$custom: #997dbe;
$custom-light: #b8a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#997dbe",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 265.846,
    "s": 33.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64071,
    "c": 0.09961,
    "h": 303.5
  },
  "luminance": 0.25157
}

Semantic roles & 50–950 ramp

primary
#997DBE
secondary
#CDD7BF
accent
#AC397B
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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