#997AB2#997AB2

#997AB2 is a light, moderate violet. Relative luminance 0.239; OKLCH L 63.0% C 0.089 H 309.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#997AB2
RGBrgb(153, 122, 178)
HSLhsl(273, 27%, 59%)
HSVhsv(273, 31%, 70%)
CMYKcmyk(14%, 31.5%, 0%, 30.2%)
CIE-LABlab(55.99, 22.89, -25.12)
CIE-LCHlch(55.99, 33.98, 312.35°)
OKLaboklab(62.97% 0.0563 -0.0689)
OKLCHoklch(62.97% 0.089 309.3)
XYZxyz(28.1308, 23.9060, 45.2432)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AB2 #93B27A
analogous
#7D7AB2 #997AB2 #B27AAF
triadic
#997AB2 #B2997A #7AB299
tetradic
#997AB2 #B27D7A #93B27A #7AAFB2
square
#997AB2 #B27D7A #93B27A #7AAFB2
split-complementary
#997AB2 #AFB27A #7AB27D
monochromatic
#5B4170 #7B5897 #997AB2 #B7A1C8 #D4C8DF

Accessibility & contrast

On white

3.63
#997AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#997AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AB2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AB2#FFFFFF#000000##000000
##997AB21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7085B4
Deuteranopia (green-blind)
#7787B0
Tritanopia (blue-blind)
#96828E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #997ab2;
/* rgb */ color: rgb(153, 122, 178);
/* oklch */ color: oklch(63.0% 0.089 309.3);
Tailwind
colors: {
  custom: {
    50: '#b7a0c9',
    500: '#997ab2',
    950: '#000000',
  },
}
SCSS
$custom: #997ab2;
$custom-light: #b7a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ab2",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 273.214,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.08903,
    "h": 309.3
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#997AB2
secondary
#C3CFB9
accent
#C3658F
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #997AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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