Skip to content

#7c7acf

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

RGB
124, 122, 207
HSL
241°, 47%, 65%
CMYK
40, 41, 0, 19
Luminance
0.2271

At a glance

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

Hex
#7c7acf
Hue
241°
blue
Saturation
47%
vivid
Lightness
65%
balanced
Brightness
81%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2271
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.54:1
Closest name
Medium Purple
ΔE2000 6.6
Where it sits
Hue241° of 360°
Saturation47%
Lightness65%
Temperature
Warm ← → Cool83% 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#7c7acf
RGBrgb(124, 122, 207)
HSLhsl(241, 47%, 65%)
CMYKcmyk(40%, 41%, 0%, 19%)
LABlab(54.8 21.7 -43.8)
LCHlch(54.8 48.9 296.4)
OKLCHoklch(0.619 0.127 283.1)
Decimal8157903
Display P3color(display-p3 0.486 0.478 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c7acf on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#7c7acf on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5C86D2
deuteranopia · #5980CD
tritanopia · #648B9A

Color scale — 50 to 950

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

#F5F5FA
#EAEAF5
#D1D0EC
#AEADE1
#7c7acf
#5D5AC4
#4441B4
#383696
#2D2B78
#242358
#161637
Base = 400Lightest = 50 · #F5F5FADarkest = 950 · #161637
:root {
  --brand-50: #F5F5FA;
  --brand-100: #EAEAF5;
  --brand-200: #D1D0EC;
  --brand-300: #AEADE1;
  --brand-400: #7c7acf;
  --brand-500: #5D5AC4;
  --brand-600: #4441B4;
  --brand-700: #383696;
  --brand-800: #2D2B78;
  --brand-900: #242358;
  --brand-950: #161637;
  --brand: #7c7acf;
  --brand-ink: #000000;
}

Colors that work with #7c7acf

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#F4F4FA
Tinted page background
Border#C4C3E9
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#9A8332
Second voice, not a rival
Dark variant#23225E
Hover, pressed, headers
Light variant#EDECF8
Selected rows, tints
Dark surface#141424
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 #7c7acf

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#CDCF7A
Analogous left#7AA2CF
Analogous right#A67ACF
Split-complement 1#CFA67A
Split-complement 2#A2CF7A
Triadic 1#CF7C7A
Triadic 2#7ACF7C
Tetradic#CF7AA2

RGB percentages

Red48.6%
Green47.8%
Blue81.2%

CMYK percentages

Cyan40.1%
Magenta41.1%
Yellow0.0%
Key (black)18.8%

Color previews

#7c7acf text on a black background

contrast 5.54:1

Card sample

#7c7acf text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c7acf

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.

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

#7c7acf, answered

What color is #7c7acf?

#7c7acf is a balanced vivid blue, closest to Medium Purple (ΔE2000 6.6). It sits at 241° on the hue wheel with 47% saturation and 65% lightness, which reads as cool.

What is the RGB value of #7c7acf?

rgb(124, 122, 207) — 124 red, 122 green and 207 blue out of 255, or 48.6% / 47.8% / 81.2% by channel.

Is #7c7acf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2271 and perceived brightness is 53%, so black text on it reaches 5.54:1.

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

Black. It scores 5.54:1 against #7c7acf, versus 3.79:1 for white — AA at any size.

What is the complementary color of #7c7acf?

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

What colors go well with #7c7acf?

For interface work: #F4F4FA as the surface, #C4C3E9 for borders, #4C4B9B for secondary text, #9A8332 as an accent and #23225E for hover and pressed states. For a palette, the analogous pair #7AA2CF and #A67ACF stays calm, while #CDCF7A is the loudest partner.

What is #7c7acf in CMYK for printing?

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

Is #7c7acf warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9B7ACF; nudged cooler, #7895D1.

Work with #7c7acf in the Color Lab