#977ABE#977ABE

#977ABE is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.3% C 0.104 H 303.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#977ABE
RGBrgb(151, 122, 190)
HSLhsl(266, 34%, 61%)
HSVhsv(266, 36%, 75%)
CMYKcmyk(20.5%, 35.8%, 0%, 25.5%)
CIE-LABlab(56.30, 25.01, -31.52)
CIE-LCHlch(56.30, 40.24, 308.43°)
OKLaboklab(63.32% 0.057 -0.0873)
OKLCHoklch(63.32% 0.104 303.2)
XYZxyz(29.0144, 24.2161, 51.8508)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977ABE #A1BE7A
analogous
#7A7FBE #977ABE #B97ABE
triadic
#977ABE #BE977A #7ABE97
tetradic
#977ABE #BE7A7F #A1BE7A #7ABEB9
square
#977ABE #BE7A7F #A1BE7A #7ABEB9
split-complementary
#977ABE #BEB97A #7FBE7A
monochromatic
#5A3E7F #7752A8 #977ABE #B7A3D2 #D7CCE6

Accessibility & contrast

On white

3.59
#977ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#977ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977ABE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977ABE#FFFFFF#000000##000000
##977ABE1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C1
Deuteranopia (green-blind)
#7187BC
Tritanopia (blue-blind)
#918593
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #977abe;
/* rgb */ color: rgb(151, 122, 190);
/* oklch */ color: oklch(63.3% 0.104 303.2);
Tailwind
colors: {
  custom: {
    50: '#b6a0d2',
    500: '#977abe',
    950: '#000000',
  },
}
SCSS
$custom: #977abe;
$custom-light: #b6a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#977abe",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 265.588,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.10423,
    "h": 303.2
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#977ABE
secondary
#CCD7BD
accent
#AD387B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #977ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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