#997FAC#997FAC

#997FAC is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.7% C 0.072 H 310.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#997FAC
RGBrgb(153, 127, 172)
HSLhsl(275, 21%, 59%)
HSVhsv(275, 26%, 67%)
CMYKcmyk(11%, 26.2%, 0%, 32.5%)
CIE-LABlab(57.01, 18.68, -20.12)
CIE-LCHlch(57.01, 27.46, 312.89°)
OKLaboklab(63.66% 0.047 -0.0548)
OKLCHoklch(63.66% 0.072 310.6)
XYZxyz(28.1713, 24.9299, 42.3496)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FAC #92AC7F
analogous
#827FAC #997FAC #AC7FA8
triadic
#997FAC #AC997F #7FAC99
tetradic
#997FAC #AC827F #92AC7F #7FA8AC
square
#997FAC #AC827F #92AC7F #7FA8AC
split-complementary
#997FAC #A8AC7F #7FAC82
monochromatic
#5B456B #7B5E90 #997FAC #B7A4C4 #D4C9DC

Accessibility & contrast

On white

3.51
#997FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#997FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FAC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FAC#FFFFFF#000000##000000
##997FAC1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AE
Deuteranopia (green-blind)
#7D89AB
Tritanopia (blue-blind)
#97858F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997fac;
/* rgb */ color: rgb(153, 127, 172);
/* oklch */ color: oklch(63.7% 0.072 310.6);
Tailwind
colors: {
  custom: {
    50: '#b7a4c4',
    500: '#997fac',
    950: '#000000',
  },
}
SCSS
$custom: #997fac;
$custom-light: #b7a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#997fac",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 274.667,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.07219,
    "h": 310.6
  },
  "luminance": 0.2493
}

Semantic roles & 50–950 ramp

primary
#997FAC
secondary
#C2CCBB
accent
#BE6A8D
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F12
muted
#807F81

Preview Lab

Preview with #997FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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