#997EBE#997EBE

#997EBE is a light, moderate violet. Relative luminance 0.254; OKLCH L 64.3% C 0.098 H 303.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#997EBE
RGBrgb(153, 126, 190)
HSLhsl(265, 33%, 62%)
HSVhsv(265, 34%, 75%)
CMYKcmyk(19.5%, 33.7%, 0%, 25.5%)
CIE-LABlab(57.47, 23.32, -29.69)
CIE-LCHlch(57.47, 37.75, 308.15°)
OKLaboklab(64.26% 0.0535 -0.082)
OKLCHoklch(64.26% 0.098 303.1)
XYZxyz(29.8901, 25.4118, 52.0355)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EBE #A3BE7E
analogous
#7E83BE #997EBE #B97EBE
triadic
#997EBE #BE997E #7EBE99
tetradic
#997EBE #BE7E83 #A3BE7E #7EBEB9
square
#997EBE #BE7E83 #A3BE7E #7EBEB9
split-complementary
#997EBE #BEB97E #83BE7E
monochromatic
#5C4181 #7955A9 #997EBE #B9A7D3 #D9CFE7

Accessibility & contrast

On white

3.45
#997EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#997EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EBE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EBE#FFFFFF#000000##000000
##997EBE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C1
Deuteranopia (green-blind)
#758ABC
Tritanopia (blue-blind)
#938895
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ebe;
/* rgb */ color: rgb(153, 126, 190);
/* oklch */ color: oklch(64.3% 0.098 303.1);
Tailwind
colors: {
  custom: {
    50: '#b8a3d2',
    500: '#997ebe',
    950: '#000000',
  },
}
SCSS
$custom: #997ebe;
$custom-light: #b8a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#997ebe",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 265.313,
    "s": 32.99,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.09789,
    "h": 303.1
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#997EBE
secondary
#CED8C0
accent
#AC3A7C
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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