Skip to content

#977cc5

a balanced, soft violet · cool · closest name: Medium Purple

RGB
151, 124, 197
HSL
262°, 39%, 63%
CMYK
23, 37, 0, 23
Luminance
0.2503

At a glance

Every number on this page in one read: what #977cc5 is made of, how bright it looks, and which way it leans.

Hex
#977cc5
Hue
262°
violet
Saturation
39%
soft
Lightness
63%
balanced
Brightness
77%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2503
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.01:1
Closest name
Medium Purple
ΔE2000 6.2
Where it sits
Hue262° of 360°
Saturation39%
Lightness63%
Temperature
Warm ← → Cool71% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#977cc5
RGBrgb(151, 124, 197)
HSLhsl(262, 39%, 63%)
CMYKcmyk(23%, 37%, 0%, 23%)
LABlab(57.1 25.5 -34.3)
LCHlch(57.1 42.7 306.7)
OKLCHoklch(0.640 0.110 300.3)
Decimal9927877
Display P3color(display-p3 0.592 0.486 0.773)

Copy-ready code

/* CSS */
color: #977cc5;
background-color: #977cc5;
/* Tailwind (arbitrary) */
class="text-[#977cc5] bg-[#977cc5]"
/* SCSS */
$brand: #977cc5;
/* SwiftUI */
Color(red: 0.592, green: 0.486, blue: 0.773)
/* Android */
Color.parseColor("#977cc5")
/* Flutter */
Color(0xFF977CC5)
/* Python / OpenCV (BGR) */
(197, 124, 151)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #977cc5 · 6.01:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.50:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.01:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #977cc5 as text scores 3.50:1 on white and 6.01:1 on black.

Accessibility — WCAG contrast

Aa
#977cc5 on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#977cc5 on black: 6.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A89C8
deuteranopia · #6F89C3
tritanopia · #8F8897

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #977cc5 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F5FA
#EFEBF4
#DBD3E9
#C1B1DD
#977cc5
#8463BA
#6E4BAA
#5C3F8D
#493271
#382753
#231934
Base = 400Lightest = 50 · #F7F5FADarkest = 950 · #231934
:root {
  --brand-50: #F7F5FA;
  --brand-100: #EFEBF4;
  --brand-200: #DBD3E9;
  --brand-300: #C1B1DD;
  --brand-400: #977cc5;
  --brand-500: #8463BA;
  --brand-600: #6E4BAA;
  --brand-700: #5C3F8D;
  --brand-800: #493271;
  --brand-900: #382753;
  --brand-950: #231934;
  --brand: #977cc5;
  --brand-ink: #000000;
}

Colors that work with #977cc5

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F4FA
Tinted page background
Border#D2C6E6
Hairlines and dividers
Muted text#684B9B
Captions on the surface
Accent#87923A
Second voice, not a rival
Dark variant#392758
Hover, pressed, headers
Light variant#F1EDF7
Selected rows, tints
Dark surface#1A1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #977cc5

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#AAC57C
Analogous left#7C85C5
Analogous right#BB7CC5
Split-complement 1#C5BB7C
Split-complement 2#85C57C
Triadic 1#C5977C
Triadic 2#7CC597
Tetradic#C57C85

RGB percentages

Red59.2%
Green48.6%
Blue77.3%

CMYK percentages

Cyan23.4%
Magenta37.1%
Yellow0.0%
Key (black)22.7%

Color previews

#977cc5 text on a black background

contrast 6.01:1

Card sample

#977cc5 text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #977cc5;
Background color
Panel with #977cc5 background
background-color: #977cc5;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #977cc5;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 124, 197, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 124, 197, 0.45);
Border & gradient
Gradient panel
border: 3px solid #977cc5;
background: linear-gradient(135deg, #977cc5, #C57CC2);

Monochromatic scale

Palettes built from #977cc5

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#977cc5 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#977cc5, answered

What color is #977cc5?

#977cc5 is a balanced soft violet, closest to Medium Purple (ΔE2000 6.2). It sits at 262° on the hue wheel with 39% saturation and 63% lightness, which reads as cool.

What is the RGB value of #977cc5?

rgb(151, 124, 197) — 151 red, 124 green and 197 blue out of 255, or 59.2% / 48.6% / 77.3% by channel.

Is #977cc5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2503 and perceived brightness is 56%, so black text on it reaches 6.01:1.

Should I use black or white text on #977cc5?

Black. It scores 6.01:1 against #977cc5, versus 3.50:1 for white — AA at any size.

What is the complementary color of #977cc5?

#AAC57C sits directly opposite on the wheel. Softer options are the split-complements #C5BB7C and #85C57C, which give the same contrast with far less vibration.

What colors go well with #977cc5?

For interface work: #F7F4FA as the surface, #D2C6E6 for borders, #684B9B for secondary text, #87923A as an accent and #392758 for hover and pressed states. For a palette, the analogous pair #7C85C5 and #BB7CC5 stays calm, while #AAC57C is the loudest partner.

What is #977cc5 in CMYK for printing?

cmyk(23%, 37%, 0%, 23%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #977cc5 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B27CC5; nudged cooler, #7A7AC7.

Work with #977cc5 in the Color Lab