Skip to content

#7c71af

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

RGB
124, 113, 175
HSL
251°, 28%, 57%
CMYK
29, 35, 0, 31
Luminance
0.1919

At a glance

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

Hex
#7c71af
Hue
251°
blue
Saturation
28%
soft
Lightness
57%
balanced
Brightness
69%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1919
WCAG relative
Temperature
Cool
72/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
4.84:1
Closest name
Medium Purple
ΔE2000 8.7
Where it sits
Hue251° of 360°
Saturation28%
Lightness57%
Temperature
Warm ← → Cool72% 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#7c71af
RGBrgb(124, 113, 175)
HSLhsl(251, 28%, 57%)
CMYKcmyk(29%, 35%, 0%, 31%)
LABlab(50.9 18.4 -31.5)
LCHlch(50.9 36.5 300.3)
OKLCHoklch(0.584 0.094 291.3)
Decimal8155567
Display P3color(display-p3 0.486 0.443 0.686)

Copy-ready code

/* CSS */
color: #7c71af;
background-color: #7c71af;
/* Tailwind (arbitrary) */
class="text-[#7c71af] bg-[#7c71af]"
/* SCSS */
$brand: #7c71af;
/* SwiftUI */
Color(red: 0.486, green: 0.443, blue: 0.686)
/* Android */
Color.parseColor("#7c71af")
/* Flutter */
Color(0xFF7C71AF)
/* Python / OpenCV (BGR) */
(175, 113, 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 #7c71af · 4.84:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.34:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.84:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #7c71af as text scores 4.34:1 on white and 4.84:1 on black.

Accessibility — WCAG contrast

Aa
#7c71af on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#7c71af on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #607AB1
deuteranopia · #6178AD
tritanopia · #717C88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7c71af 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
#EEECF3
#D9D6E6
#BDB7D7
#9C93C2
#7c71af
#64589D
#544A82
#433B68
#332D4D
#201C30
Base = 500Lightest = 50 · #F6F6F9Darkest = 950 · #201C30
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EEECF3;
  --brand-200: #D9D6E6;
  --brand-300: #BDB7D7;
  --brand-400: #9C93C2;
  --brand-500: #7c71af;
  --brand-600: #64589D;
  --brand-700: #544A82;
  --brand-800: #433B68;
  --brand-900: #332D4D;
  --brand-950: #201C30;
  --brand: #7c71af;
  --brand-ink: #000000;
}

Colors that work with #7c71af

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#CFCBE2
Hairlines and dividers
Muted text#5E5393
Captions on the surface
Accent#868246
Second voice, not a rival
Dark variant#342E52
Hover, pressed, headers
Light variant#F0EFF6
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 #7c71af

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#A4AF71
Analogous left#7185AF
Analogous right#9B71AF
Split-complement 1#AF9B71
Split-complement 2#85AF71
Triadic 1#AF7C71
Triadic 2#71AF7C
Tetradic#AF7185

RGB percentages

Red48.6%
Green44.3%
Blue68.6%

CMYK percentages

Cyan29.1%
Magenta35.4%
Yellow0.0%
Key (black)31.4%

Color previews

#7c71af text on a black background

contrast 4.84:1

Card sample

#7c71af text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c71af

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.

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

#7c71af, answered

What color is #7c71af?

#7c71af is a balanced soft blue, closest to Medium Purple (ΔE2000 8.7). It sits at 251° on the hue wheel with 28% saturation and 57% lightness, which reads as cool.

What is the RGB value of #7c71af?

rgb(124, 113, 175) — 124 red, 113 green and 175 blue out of 255, or 48.6% / 44.3% / 68.6% by channel.

Is #7c71af a light or a dark color?

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

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

Black. It scores 4.84:1 against #7c71af, versus 4.34:1 for white — AA at any size.

What is the complementary color of #7c71af?

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

What colors go well with #7c71af?

For interface work: #F6F5F9 as the surface, #CFCBE2 for borders, #5E5393 for secondary text, #868246 as an accent and #342E52 for hover and pressed states. For a palette, the analogous pair #7185AF and #9B71AF stays calm, while #A4AF71 is the loudest partner.

What is #7c71af in CMYK for printing?

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

Is #7c71af warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9371AF; nudged cooler, #6F7CB1.

Work with #7c71af in the Color Lab