Skip to content

#7f29fd

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

RGB
127, 41, 253
HSL
264°, 98%, 58%
CMYK
50, 84, 0, 1
Luminance
0.1319

At a glance

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

Hex
#7f29fd
Hue
264°
violet
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1319
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.77:1
Closest name
Blue Violet
ΔE2000 3.6
Where it sits
Hue264° of 360°
Saturation98%
Lightness58%
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#7f29fd
RGBrgb(127, 41, 253)
HSLhsl(264, 98%, 58%)
CMYKcmyk(50%, 84%, 0%, 1%)
LABlab(43.0 75.3 -88.7)
LCHlch(43.0 116.3 310.3)
OKLCHoklch(0.544 0.276 292.7)
Decimal8333821
Display P3color(display-p3 0.498 0.161 0.992)

Copy-ready code

/* CSS */
color: #7f29fd;
background-color: #7f29fd;
/* Tailwind (arbitrary) */
class="text-[#7f29fd] bg-[#7f29fd]"
/* SCSS */
$brand: #7f29fd;
/* SwiftUI */
Color(red: 0.498, green: 0.161, blue: 0.992)
/* Android */
Color.parseColor("#7f29fd")
/* Flutter */
Color(0xFF7F29FD)
/* Python / OpenCV (BGR) */
(253, 41, 127)

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

Accessibility — WCAG contrast

Aa
#7f29fd on white: 5.77:1
AA ✓ pass · AA-large · AAA
Aa
#7f29fd on black: 3.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068FF
deuteranopia · #0062F9
tritanopia · #546C98

Color scale — 50 to 950

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

#F6F1FD
#EDE3FC
#D8C1FB
#BC90FE
#9B58FD
#7f29fd
#6402F2
#5302CA
#4202A2
#330674
#200449
Base = 500Lightest = 50 · #F6F1FDDarkest = 950 · #200449
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EDE3FC;
  --brand-200: #D8C1FB;
  --brand-300: #BC90FE;
  --brand-400: #9B58FD;
  --brand-500: #7f29fd;
  --brand-600: #6402F2;
  --brand-700: #5302CA;
  --brand-800: #4202A2;
  --brand-900: #330674;
  --brand-950: #200449;
  --brand: #7f29fd;
  --brand-ink: #ffffff;
}

Colors that work with #7f29fd

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#D2C0ED
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#ACCC00
Second voice, not a rival
Dark variant#34017E
Hover, pressed, headers
Light variant#F0E6FF
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 #7f29fd

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#A7FD29
Analogous left#293DFD
Analogous right#E929FD
Split-complement 1#FDE929
Split-complement 2#3DFD29
Triadic 1#FD7F29
Triadic 2#29FD7F
Tetradic#FD293D

RGB percentages

Red49.8%
Green16.1%
Blue99.2%

CMYK percentages

Cyan49.8%
Magenta83.8%
Yellow0.0%
Key (black)0.8%

Color previews

#7f29fd text on a black background

contrast 3.64:1

Card sample

#7f29fd text on a white background

contrast 5.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7f29fd

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.

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

#7f29fd, answered

What color is #7f29fd?

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

What is the RGB value of #7f29fd?

rgb(127, 41, 253) — 127 red, 41 green and 253 blue out of 255, or 49.8% / 16.1% / 99.2% by channel.

Is #7f29fd a light or a dark color?

It is a dark color. Relative luminance is 0.1319 and perceived brightness is 45%, so white text on it reaches 5.77:1.

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

White. It scores 5.77:1 against #7f29fd, versus 3.64:1 for black — AA at any size.

What is the complementary color of #7f29fd?

#A7FD29 sits directly opposite on the wheel. Softer options are the split-complements #FDE929 and #3DFD29, which give the same contrast with far less vibration.

What colors go well with #7f29fd?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #ACCC00 as an accent and #34017E for hover and pressed states. For a palette, the analogous pair #293DFD and #E929FD stays calm, while #A7FD29 is the loudest partner.

What is #7f29fd in CMYK for printing?

cmyk(50%, 84%, 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 #7f29fd 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 #CD29FD; nudged cooler, #2F27FF.

Work with #7f29fd in the Color Lab