#997FA4#997FA4

#997FA4 is a light, moderate purple. Relative luminance 0.246; OKLCH L 63.3% C 0.062 H 315.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#997FA4
RGBrgb(153, 127, 164)
HSLhsl(282, 17%, 57%)
HSVhsv(282, 23%, 64%)
CMYKcmyk(6.7%, 22.6%, 0%, 35.7%)
CIE-LABlab(56.71, 16.98, -15.96)
CIE-LCHlch(56.71, 23.30, 316.76°)
OKLaboklab(63.34% 0.0444 -0.0432)
OKLCHoklch(63.34% 0.062 315.8)
XYZxyz(27.4261, 24.6318, 38.4244)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FA4 #8AA47F
analogous
#877FA4 #997FA4 #A47F9D
triadic
#997FA4 #A4997F #7FA499
tetradic
#997FA4 #A4877F #8AA47F #7F9DA4
square
#997FA4 #A4877F #8AA47F #7F9DA4
split-complementary
#997FA4 #9DA47F #7FA487
monochromatic
#5A4663 #7B5F86 #997FA4 #B6A3BD #D2C7D7

Accessibility & contrast

On white

3.54
#997FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#997FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FA4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FA4#FFFFFF#000000##000000
##997FA41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A6
Deuteranopia (green-blind)
#8089A3
Tritanopia (blue-blind)
#99838C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997fa4;
/* rgb */ color: rgb(153, 127, 164);
/* oklch */ color: oklch(63.3% 0.062 315.8);
Tailwind
colors: {
  custom: {
    50: '#b7a4bf',
    500: '#997fa4',
    950: '#000000',
  },
}
SCSS
$custom: #997fa4;
$custom-light: #b7a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#997fa4",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 282.162,
    "s": 16.895,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.06196,
    "h": 315.8
  },
  "luminance": 0.24631
}

Semantic roles & 50–950 ramp

primary
#997FA4
secondary
#BCC7B8
accent
#BA6E85
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #997FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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