#977AAA#977AAA

#977AAA is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.4% C 0.078 H 311.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#977AAA
RGBrgb(151, 122, 170)
HSLhsl(276, 22%, 57%)
HSVhsv(276, 28%, 67%)
CMYKcmyk(11.2%, 28.2%, 0%, 33.3%)
CIE-LABlab(55.48, 20.47, -21.32)
CIE-LCHlch(55.48, 29.55, 313.84°)
OKLaboklab(62.42% 0.0517 -0.0582)
OKLCHoklch(62.42% 0.078 311.6)
XYZxyz(26.9765, 23.4010, 41.1181)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977AAA #8DAA7A
analogous
#7F7AAA #977AAA #AA7AA5
triadic
#977AAA #AA977A #7AAA97
tetradic
#977AAA #AA7F7A #8DAA7A #7AA5AA
square
#977AAA #AA7F7A #8DAA7A #7AA5AA
split-complementary
#977AAA #A5AA7A #7AAA7F
monochromatic
#594267 #795A8D #977AAA #B49FC2 #D1C5DA

Accessibility & contrast

On white

3.70
#977AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#977AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977AAA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977AAA#FFFFFF#000000##000000
##977AAA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#95808B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #977aaa;
/* rgb */ color: rgb(151, 122, 170);
/* oklch */ color: oklch(62.4% 0.078 311.6);
Tailwind
colors: {
  custom: {
    50: '#b6a0c3',
    500: '#977aaa',
    950: '#000000',
  },
}
SCSS
$custom: #977aaa;
$custom-light: #b6a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#977aaa",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 276.25,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.07783,
    "h": 311.6
  },
  "luminance": 0.23401
}

Semantic roles & 50–950 ramp

primary
#977AAA
secondary
#BECAB6
accent
#BF698B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E12
muted
#807E81

Preview Lab

Preview with #977AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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