#997EBB#997EBB

#997EBB is a light, moderate violet. Relative luminance 0.253; OKLCH L 64.1% C 0.094 H 304.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#997EBB
RGBrgb(153, 126, 187)
HSLhsl(267, 31%, 61%)
HSVhsv(267, 33%, 73%)
CMYKcmyk(18.2%, 32.6%, 0%, 26.7%)
CIE-LABlab(57.35, 22.62, -28.17)
CIE-LCHlch(57.35, 36.13, 308.76°)
OKLaboklab(64.12% 0.0527 -0.0776)
OKLCHoklch(64.12% 0.094 304.2)
XYZxyz(29.5656, 25.2820, 50.3264)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EBB #A0BB7E
analogous
#7E82BB #997EBB #B87EBB
triadic
#997EBB #BB997E #7EBB99
tetradic
#997EBB #BB7E82 #A0BB7E #7EBBB8
square
#997EBB #BB7E82 #A0BB7E #7EBBB8
split-complementary
#997EBB #BBB87E #82BB7E
monochromatic
#5C427D #7957A5 #997EBB #B9A6D0 #D8CEE5

Accessibility & contrast

On white

3.47
#997EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#997EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EBB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EBB#FFFFFF#000000##000000
##997EBB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BD
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#948794
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ebb;
/* rgb */ color: rgb(153, 126, 187);
/* oklch */ color: oklch(64.1% 0.094 304.2);
Tailwind
colors: {
  custom: {
    50: '#b8a3cf',
    500: '#997ebb',
    950: '#000000',
  },
}
SCSS
$custom: #997ebb;
$custom-light: #b8a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#997ebb",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 187
  },
  "hsl": {
    "h": 266.557,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64121,
    "c": 0.09386,
    "h": 304.2
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#997EBB
secondary
#CCD6BF
accent
#AA3C79
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #997EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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