#997FB2#997FB2

#997FB2 is a light, moderate violet. Relative luminance 0.252; OKLCH L 63.9% C 0.080 H 307.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#997FB2
RGBrgb(153, 127, 178)
HSLhsl(271, 25%, 60%)
HSVhsv(271, 29%, 70%)
CMYKcmyk(14%, 28.7%, 0%, 30.2%)
CIE-LABlab(57.24, 20.00, -23.20)
CIE-LCHlch(57.24, 30.64, 310.76°)
OKLaboklab(63.92% 0.0487 -0.0635)
OKLCHoklch(63.92% 0.08 307.5)
XYZxyz(28.7606, 25.1656, 45.4531)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FB2 #98B27F
analogous
#807FB2 #997FB2 #B27FB2
triadic
#997FB2 #B2997F #7FB299
tetradic
#997FB2 #B2807F #98B27F #7FB2B2
square
#997FB2 #B2807F #98B27F #7FB2B2
split-complementary
#997FB2 #B2B27F #7FB280
monochromatic
#5C4572 #7A5C98 #997FB2 #B7A5C9 #D6CBE0

Accessibility & contrast

On white

3.48
#997FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#997FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FB2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FB2#FFFFFF#000000##000000
##997FB21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#7B8AB0
Tritanopia (blue-blind)
#968691
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997fb2;
/* rgb */ color: rgb(153, 127, 178);
/* oklch */ color: oklch(63.9% 0.080 307.5);
Tailwind
colors: {
  custom: {
    50: '#b7a4c9',
    500: '#997fb2',
    950: '#000000',
  },
}
SCSS
$custom: #997fb2;
$custom-light: #b7a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#997fb2",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 270.588,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.08008,
    "h": 307.5
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#997FB2
secondary
#C6D0BD
accent
#C16793
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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