Skip to content

#7b2cf4

a balanced, electric violet · cool · closest name: Blue Violet

RGB
123, 44, 244
HSL
264°, 90%, 57%
CMYK
50, 82, 0, 4
Luminance
0.1254

At a glance

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

Hex
#7b2cf4
Hue
264°
violet
Saturation
90%
electric
Lightness
57%
balanced
Brightness
96%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1254
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.98:1
Closest name
Blue Violet
ΔE2000 3.1
Where it sits
Hue264° of 360°
Saturation90%
Lightness57%
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#7b2cf4
RGBrgb(123, 44, 244)
HSLhsl(264, 90%, 57%)
CMYKcmyk(50%, 82%, 0%, 4%)
LABlab(42.1 71.8 -85.2)
LCHlch(42.1 111.4 310.1)
OKLCHoklch(0.534 0.265 292.6)
Decimal8072436
Display P3color(display-p3 0.482 0.173 0.957)

Copy-ready code

/* CSS */
color: #7b2cf4;
background-color: #7b2cf4;
/* Tailwind (arbitrary) */
class="text-[#7b2cf4] bg-[#7b2cf4]"
/* SCSS */
$brand: #7b2cf4;
/* SwiftUI */
Color(red: 0.482, green: 0.173, blue: 0.957)
/* Android */
Color.parseColor("#7b2cf4")
/* Flutter */
Color(0xFF7B2CF4)
/* Python / OpenCV (BGR) */
(244, 44, 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#ffffff on #7b2cf4 · 5.98:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.98:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.51:1
AA fail · AA large pass · AAA fail
Reading the other direction: #7b2cf4 as text scores 5.98:1 on white and 3.51:1 on black.

Accessibility — WCAG contrast

Aa
#7b2cf4 on white: 5.98:1
AA ✓ pass · AA-large · AAA
Aa
#7b2cf4 on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066F9
deuteranopia · #005FF0
tritanopia · #526993

Color scale — 50 to 950

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

#F6F2FD
#EDE5FB
#D8C3F8
#BC94F9
#9B5FF7
#7b2cf4
#630CE9
#530AC2
#42089B
#330A70
#200746
Base = 500Lightest = 50 · #F6F2FDDarkest = 950 · #200746
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EDE5FB;
  --brand-200: #D8C3F8;
  --brand-300: #BC94F9;
  --brand-400: #9B5FF7;
  --brand-500: #7b2cf4;
  --brand-600: #630CE9;
  --brand-700: #530AC2;
  --brand-800: #42089B;
  --brand-900: #330A70;
  --brand-950: #200746;
  --brand: #7b2cf4;
  --brand-ink: #ffffff;
}

Colors that work with #7b2cf4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#AAC606
Second voice, not a rival
Dark variant#340679
Hover, pressed, headers
Light variant#F0E7FE
Selected rows, tints
Dark surface#1A1424
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 #7b2cf4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#A5F42C
Analogous left#2C41F4
Analogous right#DF2CF4
Split-complement 1#F4DF2C
Split-complement 2#41F42C
Triadic 1#F47B2C
Triadic 2#2CF47B
Tetradic#F42C41

RGB percentages

Red48.2%
Green17.3%
Blue95.7%

CMYK percentages

Cyan49.6%
Magenta82.0%
Yellow0.0%
Key (black)4.3%

Color previews

#7b2cf4 text on a black background

contrast 3.51:1

Card sample

#7b2cf4 text on a white background

contrast 5.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7b2cf4

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.

#7b2cf4 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#7b2cf4, answered

What color is #7b2cf4?

#7b2cf4 is a balanced electric violet, closest to Blue Violet (ΔE2000 3.1). It sits at 264° on the hue wheel with 90% saturation and 57% lightness, which reads as cool.

What is the RGB value of #7b2cf4?

rgb(123, 44, 244) — 123 red, 44 green and 244 blue out of 255, or 48.2% / 17.3% / 95.7% by channel.

Is #7b2cf4 a light or a dark color?

It is a dark color. Relative luminance is 0.1254 and perceived brightness is 44%, so white text on it reaches 5.98:1.

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

White. It scores 5.98:1 against #7b2cf4, versus 3.51:1 for black — AA at any size.

What is the complementary color of #7b2cf4?

#A5F42C sits directly opposite on the wheel. Softer options are the split-complements #F4DF2C and #41F42C, which give the same contrast with far less vibration.

What colors go well with #7b2cf4?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #AAC606 as an accent and #340679 for hover and pressed states. For a palette, the analogous pair #2C41F4 and #DF2CF4 stays calm, while #A5F42C is the loudest partner.

What is #7b2cf4 in CMYK for printing?

cmyk(50%, 82%, 0%, 4%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #7b2cf4 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 #C42CF4; nudged cooler, #302AF6.

Work with #7b2cf4 in the Color Lab