#997EA8#997EA8

#997EA8 is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.3% C 0.069 H 313.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#997EA8
RGBrgb(153, 126, 168)
HSLhsl(279, 19%, 58%)
HSVhsv(279, 25%, 66%)
CMYKcmyk(8.9%, 25%, 0%, 34.1%)
CIE-LABlab(56.61, 18.40, -18.43)
CIE-LCHlch(56.61, 26.04, 314.95°)
OKLaboklab(63.31% 0.0473 -0.0501)
OKLCHoklch(63.31% 0.069 313.3)
XYZxyz(27.6645, 24.5215, 40.3140)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EA8 #8DA87E
analogous
#847EA8 #997EA8 #A87EA2
triadic
#997EA8 #A8997E #7EA899
tetradic
#997EA8 #A8847E #8DA87E #7EA2A8
square
#997EA8 #A8847E #8DA87E #7EA2A8
split-complementary
#997EA8 #A2A87E #7EA884
monochromatic
#5B4566 #7B5E8B #997EA8 #B6A3C1 #D3C7D9

Accessibility & contrast

On white

3.56
#997EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#997EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EA8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EA8#FFFFFF#000000##000000
##997EA81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886AA
Deuteranopia (green-blind)
#7E88A7
Tritanopia (blue-blind)
#98838D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997ea8;
/* rgb */ color: rgb(153, 126, 168);
/* oklch */ color: oklch(63.3% 0.069 313.3);
Tailwind
colors: {
  custom: {
    50: '#b7a3c2',
    500: '#997ea8',
    950: '#000000',
  },
}
SCSS
$custom: #997ea8;
$custom-light: #b7a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#997ea8",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 278.571,
    "s": 19.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.06887,
    "h": 313.3
  },
  "luminance": 0.24521
}

Semantic roles & 50–950 ramp

primary
#997EA8
secondary
#BEC9B8
accent
#BC6C88
background
#FBFAFB
surface
#F6F3F7
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #997EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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