#997FAA#997FAA

#997FAA is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.6% C 0.070 H 311.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#997FAA
RGBrgb(153, 127, 170)
HSLhsl(276, 20%, 58%)
HSVhsv(276, 25%, 67%)
CMYKcmyk(10%, 25.3%, 0%, 33.3%)
CIE-LABlab(56.93, 18.25, -19.08)
CIE-LCHlch(56.93, 26.41, 313.73°)
OKLaboklab(63.58% 0.0463 -0.0519)
OKLCHoklch(63.58% 0.07 311.7)
XYZxyz(27.9807, 24.8536, 41.3456)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FAA #90AA7F
analogous
#837FAA #997FAA #AA7FA5
triadic
#997FAA #AA997F #7FAA99
tetradic
#997FAA #AA837F #90AA7F #7FA5AA
square
#997FAA #AA837F #90AA7F #7FA5AA
split-complementary
#997FAA #A5AA7F #7FAA83
monochromatic
#5B4669 #7B5E8E #997FAA #B6A4C2 #D4C9DB

Accessibility & contrast

On white

3.52
#997FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#997FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FAA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FAA#FFFFFF#000000##000000
##997FAA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AC
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#98848E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997faa;
/* rgb */ color: rgb(153, 127, 170);
/* oklch */ color: oklch(63.6% 0.070 311.7);
Tailwind
colors: {
  custom: {
    50: '#b7a4c3',
    500: '#997faa',
    950: '#000000',
  },
}
SCSS
$custom: #997faa;
$custom-light: #b7a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#997faa",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 276.279,
    "s": 20.188,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.06959,
    "h": 311.7
  },
  "luminance": 0.24853
}

Semantic roles & 50–950 ramp

primary
#997FAA
secondary
#C1CBBA
accent
#BD6B8B
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F12
muted
#807F81

Preview Lab

Preview with #997FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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