Skip to content

#7d2bc9

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

RGB
125, 43, 201
HSL
271°, 65%, 48%
CMYK
38, 79, 0, 21
Luminance
0.1030

At a glance

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

Hex
#7d2bc9
Hue
271°
violet
Saturation
65%
vivid
Lightness
48%
balanced
Brightness
79%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1030
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.86:1
Closest name
Blue Violet
ΔE2000 3.9
Where it sits
Hue271° of 360°
Saturation65%
Lightness48%
Temperature
Warm ← → Cool66% 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#7d2bc9
RGBrgb(125, 43, 201)
HSLhsl(271, 65%, 48%)
CMYKcmyk(38%, 79%, 0%, 21%)
LABlab(38.4 62.3 -66.7)
LCHlch(38.4 91.2 313.1)
OKLCHoklch(0.497 0.225 302.0)
Decimal8203209
Display P3color(display-p3 0.490 0.169 0.788)

Copy-ready code

/* CSS */
color: #7d2bc9;
background-color: #7d2bc9;
/* Tailwind (arbitrary) */
class="text-[#7d2bc9] bg-[#7d2bc9]"
/* SCSS */
$brand: #7d2bc9;
/* SwiftUI */
Color(red: 0.490, green: 0.169, blue: 0.788)
/* Android */
Color.parseColor("#7d2bc9")
/* Flutter */
Color(0xFF7D2BC9)
/* Python / OpenCV (BGR) */
(201, 43, 125)

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

Accessibility — WCAG contrast

Aa
#7d2bc9 on white: 6.86:1
AA ✓ pass · AA-large · AAA
Aa
#7d2bc9 on black: 3.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059CD
deuteranopia · #005AC6
tritanopia · #6C567A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7d2bc9 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F3FB
#F0E8F7
#DFCBF1
#C8A3EB
#AD74E1
#9146D8
#7d2bc9
#6824A8
#541D86
#3F1962
#270F3D
Base = 600Lightest = 50 · #F7F3FBDarkest = 950 · #270F3D
:root {
  --brand-50: #F7F3FB;
  --brand-100: #F0E8F7;
  --brand-200: #DFCBF1;
  --brand-300: #C8A3EB;
  --brand-400: #AD74E1;
  --brand-500: #9146D8;
  --brand-600: #7d2bc9;
  --brand-700: #6824A8;
  --brand-800: #541D86;
  --brand-900: #3F1962;
  --brand-950: #270F3D;
  --brand: #7d2bc9;
  --brand-ink: #ffffff;
}

Colors that work with #7d2bc9

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#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#87AC20
Second voice, not a rival
Dark variant#411669
Hover, pressed, headers
Light variant#F3EAFB
Selected rows, tints
Dark surface#1C1424
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 #7d2bc9

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#77C92B
Analogous left#2E2BC9
Analogous right#C92BC6
Split-complement 1#C6C92B
Split-complement 2#2BC92E
Triadic 1#C97D2B
Triadic 2#2BC97D
Tetradic#C92E2B

RGB percentages

Red49.0%
Green16.9%
Blue78.8%

CMYK percentages

Cyan37.8%
Magenta78.6%
Yellow0.0%
Key (black)21.2%

Color previews

#7d2bc9 text on a black background

contrast 3.06:1

Card sample

#7d2bc9 text on a white background

contrast 6.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 43, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 43, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7d2bc9;
background: linear-gradient(135deg, #7d2bc9, #C92BAC);

Monochromatic scale

Palettes built from #7d2bc9

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.

#7d2bc9 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

Converts to four-color process without much drama. Proof it anyway.

#7d2bc9, answered

What color is #7d2bc9?

#7d2bc9 is a balanced vivid violet, closest to Blue Violet (ΔE2000 3.9). It sits at 271° on the hue wheel with 65% saturation and 48% lightness, which reads as cool.

What is the RGB value of #7d2bc9?

rgb(125, 43, 201) — 125 red, 43 green and 201 blue out of 255, or 49% / 16.9% / 78.8% by channel.

Is #7d2bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1030 and perceived brightness is 40%, so white text on it reaches 6.86:1.

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

White. It scores 6.86:1 against #7d2bc9, versus 3.06:1 for black — AA at any size.

What is the complementary color of #7d2bc9?

#77C92B sits directly opposite on the wheel. Softer options are the split-complements #C6C92B and #2BC92E, which give the same contrast with far less vibration.

What colors go well with #7d2bc9?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #87AC20 as an accent and #411669 for hover and pressed states. For a palette, the analogous pair #2E2BC9 and #C92BC6 stays calm, while #77C92B is the loudest partner.

What is #7d2bc9 in CMYK for printing?

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

Is #7d2bc9 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B72BC9; nudged cooler, #4128CB.

Work with #7d2bc9 in the Color Lab