Skip to content

#7b7ace

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

RGB
123, 122, 206
HSL
241°, 46%, 64%
CMYK
40, 41, 0, 19
Luminance
0.2259

At a glance

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

Hex
#7b7ace
Hue
241°
blue
Saturation
46%
vivid
Lightness
64%
balanced
Brightness
81%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2259
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.52:1
Closest name
Medium Purple
ΔE2000 6.8
Where it sits
Hue241° of 360°
Saturation46%
Lightness64%
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#7b7ace
RGBrgb(123, 122, 206)
HSLhsl(241, 46%, 64%)
CMYKcmyk(40%, 41%, 0%, 19%)
LABlab(54.6 21.2 -43.4)
LCHlch(54.6 48.3 296.0)
OKLCHoklch(0.617 0.125 282.6)
Decimal8092366
Display P3color(display-p3 0.482 0.478 0.808)

Copy-ready code

/* CSS */
color: #7b7ace;
background-color: #7b7ace;
/* Tailwind (arbitrary) */
class="text-[#7b7ace] bg-[#7b7ace]"
/* SCSS */
$brand: #7b7ace;
/* SwiftUI */
Color(red: 0.482, green: 0.478, blue: 0.808)
/* Android */
Color.parseColor("#7b7ace")
/* Flutter */
Color(0xFF7B7ACE)
/* Python / OpenCV (BGR) */
(206, 122, 123)

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

Accessibility — WCAG contrast

Aa
#7b7ace on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#7b7ace on black: 5.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D86D1
deuteranopia · #5980CC
tritanopia · #628B9A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7b7ace 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
#D1D0EB
#AEADE1
#7b7ace
#5C5BC3
#4342B3
#383795
#2D2C77
#242357
#161637
Base = 400Lightest = 50 · #F5F5FADarkest = 950 · #161637
:root {
  --brand-50: #F5F5FA;
  --brand-100: #EAEAF5;
  --brand-200: #D1D0EB;
  --brand-300: #AEADE1;
  --brand-400: #7b7ace;
  --brand-500: #5C5BC3;
  --brand-600: #4342B3;
  --brand-700: #383795;
  --brand-800: #2D2C77;
  --brand-900: #242357;
  --brand-950: #161637;
  --brand: #7b7ace;
  --brand-ink: #000000;
}

Colors that work with #7b7ace

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#9A8132
Second voice, not a rival
Dark variant#23225D
Hover, pressed, headers
Light variant#ECECF8
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 #7b7ace

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#CDCE7A
Analogous left#7AA3CE
Analogous right#A57ACE
Split-complement 1#CEA57A
Split-complement 2#A3CE7A
Triadic 1#CE7B7A
Triadic 2#7ACE7B
Tetradic#CE7AA3

RGB percentages

Red48.2%
Green47.8%
Blue80.8%

CMYK percentages

Cyan40.3%
Magenta40.8%
Yellow0.0%
Key (black)19.2%

Color previews

#7b7ace text on a black background

contrast 5.52:1

Card sample

#7b7ace text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7b7ace

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.

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

#7b7ace, answered

What color is #7b7ace?

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

What is the RGB value of #7b7ace?

rgb(123, 122, 206) — 123 red, 122 green and 206 blue out of 255, or 48.2% / 47.8% / 80.8% by channel.

Is #7b7ace a light or a dark color?

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

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

Black. It scores 5.52:1 against #7b7ace, versus 3.81:1 for white — AA at any size.

What is the complementary color of #7b7ace?

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

What colors go well with #7b7ace?

For interface work: #F4F4FA as the surface, #C4C3E9 for borders, #4C4B9B for secondary text, #9A8132 as an accent and #23225D for hover and pressed states. For a palette, the analogous pair #7AA3CE and #A57ACE stays calm, while #CDCE7A is the loudest partner.

What is #7b7ace 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 #7b7ace 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 #9A7ACE; nudged cooler, #7895D0.

Work with #7b7ace in the Color Lab