#997AAA#997AAA

#997AAA is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.6% C 0.079 H 313.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#997AAA
RGBrgb(153, 122, 170)
HSLhsl(279, 22%, 57%)
HSVhsv(279, 28%, 67%)
CMYKcmyk(10%, 28.2%, 0%, 33.3%)
CIE-LABlab(55.68, 21.14, -21.00)
CIE-LCHlch(55.68, 29.80, 315.19°)
OKLaboklab(62.62% 0.0541 -0.0573)
OKLCHoklch(62.62% 0.079 313.3)
XYZxyz(27.3509, 23.5940, 41.1357)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AAA #8BAA7A
analogous
#817AAA #997AAA #AA7AA3
triadic
#997AAA #AA997A #7AAA99
tetradic
#997AAA #AA817A #8BAA7A #7AA3AA
square
#997AAA #AA817A #8BAA7A #7AA3AA
split-complementary
#997AAA #A3AA7A #7AAA81
monochromatic
#5A4267 #7B5A8D #997AAA #B69FC2 #D2C5DA

Accessibility & contrast

On white

3.67
#997AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#997AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AAA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AAA#FFFFFF#000000##000000
##997AAA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AC
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#98808B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #997aaa;
/* rgb */ color: rgb(153, 122, 170);
/* oklch */ color: oklch(62.6% 0.079 313.3);
Tailwind
colors: {
  custom: {
    50: '#b7a0c3',
    500: '#997aaa',
    950: '#000000',
  },
}
SCSS
$custom: #997aaa;
$custom-light: #b7a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#997aaa",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 278.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.07876,
    "h": 313.3
  },
  "luminance": 0.23594
}

Semantic roles & 50–950 ramp

primary
#997AAA
secondary
#BDCAB6
accent
#BF6987
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E12
muted
#807E81

Preview Lab

Preview with #997AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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