Skip to content

#7c72ac

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

RGB
124, 114, 172
HSL
250°, 26%, 56%
CMYK
28, 34, 0, 33
Luminance
0.1930

At a glance

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

Hex
#7c72ac
Hue
250°
blue
Saturation
26%
soft
Lightness
56%
balanced
Brightness
67%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1930
WCAG relative
Temperature
Cool
70/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
4.86:1
Closest name
Medium Purple
ΔE2000 9.4
Where it sits
Hue250° of 360°
Saturation26%
Lightness56%
Temperature
Warm ← → Cool70% 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#7c72ac
RGBrgb(124, 114, 172)
HSLhsl(250, 26%, 56%)
CMYKcmyk(28%, 34%, 0%, 33%)
LABlab(51.0 17.0 -29.6)
LCHlch(51.0 34.1 299.9)
OKLCHoklch(0.585 0.088 291.3)
Decimal8155820
Display P3color(display-p3 0.486 0.447 0.675)

Copy-ready code

/* CSS */
color: #7c72ac;
background-color: #7c72ac;
/* Tailwind (arbitrary) */
class="text-[#7c72ac] bg-[#7c72ac]"
/* SCSS */
$brand: #7c72ac;
/* SwiftUI */
Color(red: 0.486, green: 0.447, blue: 0.675)
/* Android */
Color.parseColor("#7c72ac")
/* Flutter */
Color(0xFF7C72AC)
/* Python / OpenCV (BGR) */
(172, 114, 124)

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

Accessibility — WCAG contrast

Aa
#7c72ac on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#7c72ac on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #627AAE
deuteranopia · #6378AA
tritanopia · #717C87

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7c72ac 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
#EEEDF3
#D9D6E5
#BDB8D5
#9D95C1
#7c72ac
#665B9A
#554C80
#443C67
#342F4C
#201D2F
Base = 500Lightest = 50 · #F6F6F9Darkest = 950 · #201D2F
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EEEDF3;
  --brand-200: #D9D6E5;
  --brand-300: #BDB8D5;
  --brand-400: #9D95C1;
  --brand-500: #7c72ac;
  --brand-600: #665B9A;
  --brand-700: #554C80;
  --brand-800: #443C67;
  --brand-900: #342F4C;
  --brand-950: #201D2F;
  --brand: #7c72ac;
  --brand-ink: #000000;
}

Colors that work with #7c72ac

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#F6F5F9
Tinted page background
Border#CFCCE1
Hairlines and dividers
Muted text#5F5590
Captions on the surface
Accent#857F47
Second voice, not a rival
Dark variant#352F50
Hover, pressed, headers
Light variant#F0EFF6
Selected rows, tints
Dark surface#171523
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 #7c72ac

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#A2AC72
Analogous left#7285AC
Analogous right#9972AC
Split-complement 1#AC9972
Split-complement 2#85AC72
Triadic 1#AC7C72
Triadic 2#72AC7C
Tetradic#AC7285

RGB percentages

Red48.6%
Green44.7%
Blue67.5%

CMYK percentages

Cyan27.9%
Magenta33.7%
Yellow0.0%
Key (black)32.5%

Color previews

#7c72ac text on a black background

contrast 4.86:1

Card sample

#7c72ac text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7c72ac;
Background color
Panel with #7c72ac background
background-color: #7c72ac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7c72ac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(124, 114, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 114, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c72ac;
background: linear-gradient(135deg, #7c72ac, #A372AC);

Monochromatic scale

Palettes built from #7c72ac

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.

#7c72ac 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.

#7c72ac, answered

What color is #7c72ac?

#7c72ac is a balanced soft blue, closest to Medium Purple (ΔE2000 9.4). It sits at 250° on the hue wheel with 26% saturation and 56% lightness, which reads as cool.

What is the RGB value of #7c72ac?

rgb(124, 114, 172) — 124 red, 114 green and 172 blue out of 255, or 48.6% / 44.7% / 67.5% by channel.

Is #7c72ac a light or a dark color?

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

Should I use black or white text on #7c72ac?

Black. It scores 4.86:1 against #7c72ac, versus 4.32:1 for white — AA at any size.

What is the complementary color of #7c72ac?

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

What colors go well with #7c72ac?

For interface work: #F6F5F9 as the surface, #CFCCE1 for borders, #5F5590 for secondary text, #857F47 as an accent and #352F50 for hover and pressed states. For a palette, the analogous pair #7285AC and #9972AC stays calm, while #A2AC72 is the loudest partner.

What is #7c72ac in CMYK for printing?

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

Is #7c72ac warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9172AC; nudged cooler, #707CAE.

Work with #7c72ac in the Color Lab