Skip to content

#978ccc

a light, soft blue · cool · closest name: Medium Purple

RGB
151, 140, 204
HSL
250°, 39%, 68%
CMYK
26, 31, 0, 20
Luminance
0.2970

At a glance

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

Hex
#978ccc
Hue
250°
blue
Saturation
39%
soft
Lightness
68%
light
Brightness
80%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2970
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
6.94:1
Closest name
Medium Purple
ΔE2000 9.8
Where it sits
Hue250° of 360°
Saturation39%
Lightness68%
Temperature
Warm ← → Cool78% 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#978ccc
RGBrgb(151, 140, 204)
HSLhsl(250, 39%, 68%)
CMYKcmyk(26%, 31%, 0%, 20%)
LABlab(61.4 18.0 -31.5)
LCHlch(61.4 36.3 299.7)
OKLCHoklch(0.674 0.094 291.6)
Decimal9931980
Display P3color(display-p3 0.592 0.549 0.800)

Copy-ready code

/* CSS */
color: #978ccc;
background-color: #978ccc;
/* Tailwind (arbitrary) */
class="text-[#978ccc] bg-[#978ccc]"
/* SCSS */
$brand: #978ccc;
/* SwiftUI */
Color(red: 0.592, green: 0.549, blue: 0.800)
/* Android */
Color.parseColor("#978ccc")
/* Flutter */
Color(0xFF978CCC)
/* Python / OpenCV (BGR) */
(204, 140, 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 #978ccc · 6.94:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.03:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.94:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #978ccc as text scores 3.03:1 on white and 6.94:1 on black.

Accessibility — WCAG contrast

Aa
#978ccc on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#978ccc on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7B95CF
deuteranopia · #7C93CA
tritanopia · #8C97A3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #978ccc 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.

#F6F5FA
#EDEBF4
#D6D3E9
#B9B1DD
#978ccc
#7263BA
#5B4BAA
#4C3F8D
#3D3271
#2F2753
#1D1934
Base = 400Lightest = 50 · #F6F5FADarkest = 950 · #1D1934
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EDEBF4;
  --brand-200: #D6D3E9;
  --brand-300: #B9B1DD;
  --brand-400: #978ccc;
  --brand-500: #7263BA;
  --brand-600: #5B4BAA;
  --brand-700: #4C3F8D;
  --brand-800: #3D3271;
  --brand-900: #2F2753;
  --brand-950: #1D1934;
  --brand: #978ccc;
  --brand-ink: #000000;
}

Colors that work with #978ccc

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#F5F4FA
Tinted page background
Border#CCC6E6
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#918B3B
Second voice, not a rival
Dark variant#302758
Hover, pressed, headers
Light variant#EFEDF7
Selected rows, tints
Dark surface#171424
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 #978ccc

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • White text placed on it
  • 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#C1CC8C
Analogous left#8CA1CC
Analogous right#B78CCC
Split-complement 1#CCB78C
Split-complement 2#A1CC8C
Triadic 1#CC978C
Triadic 2#8CCC97
Tetradic#CC8CA1

RGB percentages

Red59.2%
Green54.9%
Blue80.0%

CMYK percentages

Cyan26.0%
Magenta31.4%
Yellow0.0%
Key (black)20.0%

Color previews

#978ccc text on a black background

contrast 6.94:1

Card sample

#978ccc text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #978ccc;
Background color
Panel with #978ccc background
background-color: #978ccc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #978ccc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 140, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 140, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #978ccc;
background: linear-gradient(135deg, #978ccc, #C28CCC);

Monochromatic scale

Palettes built from #978ccc

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.

#978ccc in the real world

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

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#978ccc, answered

What color is #978ccc?

#978ccc is a light soft blue, closest to Medium Purple (ΔE2000 9.8). It sits at 250° on the hue wheel with 39% saturation and 68% lightness, which reads as cool.

What is the RGB value of #978ccc?

rgb(151, 140, 204) — 151 red, 140 green and 204 blue out of 255, or 59.2% / 54.9% / 80% by channel.

Is #978ccc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2970 and perceived brightness is 60%, so black text on it reaches 6.94:1.

Should I use black or white text on #978ccc?

Black. It scores 6.94:1 against #978ccc, versus 3.03:1 for white — AA at any size.

What is the complementary color of #978ccc?

#C1CC8C sits directly opposite on the wheel. Softer options are the split-complements #CCB78C and #A1CC8C, which give the same contrast with far less vibration.

What colors go well with #978ccc?

For interface work: #F5F4FA as the surface, #CCC6E6 for borders, #584B9B for secondary text, #918B3B as an accent and #302758 for hover and pressed states. For a palette, the analogous pair #8CA1CC and #B78CCC stays calm, while #C1CC8C is the loudest partner.

What is #978ccc in CMYK for printing?

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

Is #978ccc warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF8CCC; nudged cooler, #8A98CE.

Work with #978ccc in the Color Lab