#997AB7#997AB7

#997AB7 is a light, moderate violet. Relative luminance 0.241; OKLCH L 63.2% C 0.096 H 307.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#997AB7
RGBrgb(153, 122, 183)
HSLhsl(270, 30%, 60%)
HSVhsv(270, 33%, 72%)
CMYKcmyk(16.4%, 33.3%, 0%, 28.2%)
CIE-LABlab(56.20, 24.02, -27.67)
CIE-LCHlch(56.20, 36.64, 310.96°)
OKLaboklab(63.19% 0.0577 -0.0762)
OKLCHoklch(63.19% 0.096 307.1)
XYZxyz(28.6420, 24.1105, 47.9355)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AB7 #98B77A
analogous
#7B7AB7 #997AB7 #B77AB6
triadic
#997AB7 #B7997A #7AB799
tetradic
#997AB7 #B77B7A #98B77A #7AB6B7
square
#997AB7 #B77B7A #98B77A #7AB6B7
split-complementary
#997AB7 #B6B77A #7AB77B
monochromatic
#5C4076 #7A569E #997AB7 #B7A2CC #D6C9E2

Accessibility & contrast

On white

3.61
#997AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#997AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AB7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AB7#FFFFFF#000000##000000
##997AB71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E86B9
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#958390
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997ab7;
/* rgb */ color: rgb(153, 122, 183);
/* oklch */ color: oklch(63.2% 0.096 307.1);
Tailwind
colors: {
  custom: {
    50: '#b8a0cc',
    500: '#997ab7',
    950: '#000000',
  },
}
SCSS
$custom: #997ab7;
$custom-light: #b8a0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#997ab7",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 183
  },
  "hsl": {
    "h": 270.492,
    "s": 29.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63188,
    "c": 0.09555,
    "h": 307.1
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#997AB7
secondary
#C6D2BB
accent
#C66293
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F13
muted
#807E82

Preview Lab

Preview with #997AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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