#997DAB#997DAB

#997DAB is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.2% C 0.075 H 311.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#997DAB
RGBrgb(153, 125, 171)
HSLhsl(277, 21%, 58%)
HSVhsv(277, 27%, 67%)
CMYKcmyk(10.5%, 26.9%, 0%, 32.9%)
CIE-LABlab(56.47, 19.62, -20.37)
CIE-LCHlch(56.47, 28.28, 313.93°)
OKLaboklab(63.24% 0.0497 -0.0555)
OKLCHoklch(63.24% 0.075 311.8)
XYZxyz(27.8199, 24.3801, 41.7605)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DAB #8FAB7D
analogous
#827DAB #997DAB #AB7DA6
triadic
#997DAB #AB997D #7DAB99
tetradic
#997DAB #AB827D #8FAB7D #7DA6AB
square
#997DAB #AB827D #8FAB7D #7DA6AB
split-complementary
#997DAB #A6AB7D #7DAB82
monochromatic
#5B4469 #7B5C8F #997DAB #B6A2C3 #D3C7DB

Accessibility & contrast

On white

3.57
#997DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#997DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DAB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DAB#FFFFFF#000000##000000
##997DAB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AD
Deuteranopia (green-blind)
#7C88AA
Tritanopia (blue-blind)
#97838D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #997dab;
/* rgb */ color: rgb(153, 125, 171);
/* oklch */ color: oklch(63.2% 0.075 311.8);
Tailwind
colors: {
  custom: {
    50: '#b7a2c4',
    500: '#997dab',
    950: '#000000',
  },
}
SCSS
$custom: #997dab;
$custom-light: #b7a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#997dab",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 276.522,
    "s": 21.495,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.07454,
    "h": 311.8
  },
  "luminance": 0.2438
}

Semantic roles & 50–950 ramp

primary
#997DAB
secondary
#C0CBB9
accent
#BE6A8B
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F12
muted
#807F81

Preview Lab

Preview with #997DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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