Skip to content

#7178ad

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

RGB
113, 120, 173
HSL
233°, 27%, 56%
CMYK
35, 31, 0, 32
Luminance
0.1996

At a glance

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

Hex
#7178ad
Hue
233°
blue
Saturation
27%
soft
Lightness
56%
balanced
Brightness
68%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1996
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
4.99:1
Closest name
Medium Purple
ΔE2000 11.1
Where it sits
Hue233° of 360°
Saturation27%
Lightness56%
Temperature
Warm ← → Cool79% 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#7178ad
RGBrgb(113, 120, 173)
HSLhsl(233, 27%, 56%)
CMYKcmyk(35%, 31%, 0%, 32%)
LABlab(51.8 10.4 -29.0)
LCHlch(51.8 30.8 289.7)
OKLCHoklch(0.588 0.082 277.8)
Decimal7436461
Display P3color(display-p3 0.443 0.471 0.678)

Copy-ready code

/* CSS */
color: #7178ad;
background-color: #7178ad;
/* Tailwind (arbitrary) */
class="text-[#7178ad] bg-[#7178ad]"
/* SCSS */
$brand: #7178ad;
/* SwiftUI */
Color(red: 0.443, green: 0.471, blue: 0.678)
/* Android */
Color.parseColor("#7178ad")
/* Flutter */
Color(0xFF7178AD)
/* Python / OpenCV (BGR) */
(173, 120, 113)

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 #7178ad · 4.99:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.21:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.99:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #7178ad as text scores 4.21:1 on white and 4.99:1 on black.

Accessibility — WCAG contrast

Aa
#7178ad on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#7178ad on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #687EAF
deuteranopia · #6479AC
tritanopia · #60828B

Color scale — 50 to 950

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

#F6F6F9
#EDEDF3
#D6D8E6
#B8BBD6
#949AC1
#7178ad
#5A619B
#4B5181
#3C4167
#2E324C
#1D1F30
Base = 500Lightest = 50 · #F6F6F9Darkest = 950 · #1D1F30
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EDEDF3;
  --brand-200: #D6D8E6;
  --brand-300: #B8BBD6;
  --brand-400: #949AC1;
  --brand-500: #7178ad;
  --brand-600: #5A619B;
  --brand-700: #4B5181;
  --brand-800: #3C4167;
  --brand-900: #2E324C;
  --brand-950: #1D1F30;
  --brand: #7178ad;
  --brand-ink: #000000;
}

Colors that work with #7178ad

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#F5F6F9
Tinted page background
Border#CBCEE1
Hairlines and dividers
Muted text#545B92
Captions on the surface
Accent#866E46
Second voice, not a rival
Dark variant#2F3351
Hover, pressed, headers
Light variant#EFF0F6
Selected rows, tints
Dark surface#151624
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 #7178ad

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#ADA671
Analogous left#7196AD
Analogous right#8871AD
Split-complement 1#AD8871
Split-complement 2#96AD71
Triadic 1#AD7178
Triadic 2#78AD71
Tetradic#AD7196

RGB percentages

Red44.3%
Green47.1%
Blue67.8%

CMYK percentages

Cyan34.7%
Magenta30.6%
Yellow0.0%
Key (black)32.2%

Color previews

#7178ad text on a black background

contrast 4.99:1

Card sample

#7178ad text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7178ad;
Background color
Panel with #7178ad background
background-color: #7178ad;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7178ad;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(113, 120, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(113, 120, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7178ad;
background: linear-gradient(135deg, #7178ad, #9271AD);

Monochromatic scale

Palettes built from #7178ad

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.

#7178ad 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
ButtonsLinksFocus statesCharts
Print note

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

#7178ad, answered

What color is #7178ad?

#7178ad is a balanced soft blue, closest to Medium Purple (ΔE2000 11.1). It sits at 233° on the hue wheel with 27% saturation and 56% lightness, which reads as cool.

What is the RGB value of #7178ad?

rgb(113, 120, 173) — 113 red, 120 green and 173 blue out of 255, or 44.3% / 47.1% / 67.8% by channel.

Is #7178ad a light or a dark color?

It is a mid-tone. Relative luminance is 0.1996 and perceived brightness is 49%, so black text on it reaches 4.99:1.

Should I use black or white text on #7178ad?

Black. It scores 4.99:1 against #7178ad, versus 4.21:1 for white — AA at any size.

What is the complementary color of #7178ad?

#ADA671 sits directly opposite on the wheel. Softer options are the split-complements #AD8871 and #96AD71, which give the same contrast with far less vibration.

What colors go well with #7178ad?

For interface work: #F5F6F9 as the surface, #CBCEE1 for borders, #545B92 for secondary text, #866E46 as an accent and #2F3351 for hover and pressed states. For a palette, the analogous pair #7196AD and #8871AD stays calm, while #ADA671 is the loudest partner.

What is #7178ad in CMYK for printing?

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

Is #7178ad warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8071AD; nudged cooler, #6F88AF.

Work with #7178ad in the Color Lab