#997EA2#997EA2

#997EA2 is a light, moderate purple. Relative luminance 0.243; OKLCH L 63.1% C 0.061 H 317.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#997EA2
RGBrgb(153, 126, 162)
HSLhsl(285, 16%, 56%)
HSVhsv(285, 22%, 64%)
CMYKcmyk(5.6%, 22.2%, 0%, 36.5%)
CIE-LABlab(56.39, 17.14, -15.30)
CIE-LCHlch(56.39, 22.98, 318.24°)
OKLaboklab(63.07% 0.0453 -0.0414)
OKLCHoklch(63.07% 0.061 317.6)
XYZxyz(27.1184, 24.3031, 37.4378)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EA2 #87A27E
analogous
#877EA2 #997EA2 #A27E99
triadic
#997EA2 #A2997E #7EA299
tetradic
#997EA2 #A2877E #87A27E #7E99A2
square
#997EA2 #A2877E #87A27E #7E99A2
split-complementary
#997EA2 #99A27E #7EA287
monochromatic
#5A4560 #7B5F84 #997EA2 #B5A2BC #D1C5D5

Accessibility & contrast

On white

3.58
#997EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#997EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EA2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EA2#FFFFFF#000000##000000
##997EA21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A4
Deuteranopia (green-blind)
#8088A1
Tritanopia (blue-blind)
#99828A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997ea2;
/* rgb */ color: rgb(153, 126, 162);
/* oklch */ color: oklch(63.1% 0.061 317.6);
Tailwind
colors: {
  custom: {
    50: '#b7a3bd',
    500: '#997ea2',
    950: '#000000',
  },
}
SCSS
$custom: #997ea2;
$custom-light: #b7a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#997ea2",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63069,
    "c": 0.06136,
    "h": 317.6
  },
  "luminance": 0.24303
}

Semantic roles & 50–950 ramp

primary
#997EA2
secondary
#BAC5B7
accent
#B96F81
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #997EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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