Skip to content

#7b3cfd

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

RGB
123, 60, 253
HSL
260°, 98%, 61%
CMYK
51, 76, 0, 1
Luminance
0.1453

At a glance

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

Hex
#7b3cfd
Hue
260°
violet
Saturation
98%
electric
Lightness
61%
balanced
Brightness
99%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1453
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.38:1
Closest name
Blue Violet
ΔE2000 5
Where it sits
Hue260° of 360°
Saturation98%
Lightness61%
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#7b3cfd
RGBrgb(123, 60, 253)
HSLhsl(260, 98%, 61%)
CMYKcmyk(51%, 76%, 0%, 1%)
LABlab(45.0 67.9 -85.5)
LCHlch(45.0 109.1 308.5)
OKLCHoklch(0.556 0.261 289.9)
Decimal8076541
Display P3color(display-p3 0.482 0.235 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7b3cfd on white: 5.38:1
AA ✓ pass · AA-large · AAA
Aa
#7b3cfd on black: 3.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006EFF
deuteranopia · #0066F9
tritanopia · #4B739C

Color scale — 50 to 950

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

#F5F1FD
#EBE3FC
#D4C1FB
#B490FE
#8E58FD
#7b3cfd
#5102F2
#4302CA
#3602A2
#2A0674
#1A0449
Base = 500Lightest = 50 · #F5F1FDDarkest = 950 · #1A0449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE3FC;
  --brand-200: #D4C1FB;
  --brand-300: #B490FE;
  --brand-400: #8E58FD;
  --brand-500: #7b3cfd;
  --brand-600: #5102F2;
  --brand-700: #4302CA;
  --brand-800: #3602A2;
  --brand-900: #2A0674;
  --brand-950: #1A0449;
  --brand: #7b3cfd;
  --brand-ink: #ffffff;
}

Colors that work with #7b3cfd

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#BCCC00
Second voice, not a rival
Dark variant#2A017E
Hover, pressed, headers
Light variant#EEE6FF
Selected rows, tints
Dark surface#191424
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 #7b3cfd

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#BEFD3C
Analogous left#3C5EFD
Analogous right#DC3CFD
Split-complement 1#FDDC3C
Split-complement 2#5EFD3C
Triadic 1#FD7B3C
Triadic 2#3CFD7B
Tetradic#FD3C5E

RGB percentages

Red48.2%
Green23.5%
Blue99.2%

CMYK percentages

Cyan51.4%
Magenta76.3%
Yellow0.0%
Key (black)0.8%

Color previews

#7b3cfd text on a black background

contrast 3.91:1

Card sample

#7b3cfd text on a white background

contrast 5.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7b3cfd

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.

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

#7b3cfd, answered

What color is #7b3cfd?

#7b3cfd is a balanced electric violet, closest to Blue Violet (ΔE2000 5). It sits at 260° on the hue wheel with 98% saturation and 61% lightness, which reads as cool.

What is the RGB value of #7b3cfd?

rgb(123, 60, 253) — 123 red, 60 green and 253 blue out of 255, or 48.2% / 23.5% / 99.2% by channel.

Is #7b3cfd a light or a dark color?

It is a dark color. Relative luminance is 0.1453 and perceived brightness is 46%, so white text on it reaches 5.38:1.

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

White. It scores 5.38:1 against #7b3cfd, versus 3.91:1 for black — AA at any size.

What is the complementary color of #7b3cfd?

#BEFD3C sits directly opposite on the wheel. Softer options are the split-complements #FDDC3C and #5EFD3C, which give the same contrast with far less vibration.

What colors go well with #7b3cfd?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #654B9B for secondary text, #BCCC00 as an accent and #2A017E for hover and pressed states. For a palette, the analogous pair #3C5EFD and #DC3CFD stays calm, while #BEFD3C is the loudest partner.

What is #7b3cfd in CMYK for printing?

cmyk(51%, 76%, 0%, 1%). 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 #7b3cfd 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 #C23CFD; nudged cooler, #3A42FF.

Work with #7b3cfd in the Color Lab