Skip to content

#7d09cd

a dark, electric violet · cool · closest name: Dark Violet

RGB
125, 9, 205
HSL
276°, 92%, 42%
CMYK
39, 96, 0, 20
Luminance
0.0896

At a glance

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

Hex
#7d09cd
Hue
276°
violet
Saturation
92%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0896
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.52:1
Closest name
Dark Violet
ΔE2000 3.9
Where it sits
Hue276° of 360°
Saturation92%
Lightness42%
Temperature
Warm ← → Cool64% 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#7d09cd
RGBrgb(125, 9, 205)
HSLhsl(276, 92%, 42%)
CMYKcmyk(39%, 96%, 0%, 20%)
LABlab(35.9 71.5 -73.0)
LCHlch(35.9 102.2 314.4)
OKLCHoklch(0.481 0.248 302.8)
Decimal8194509
Display P3color(display-p3 0.490 0.035 0.804)

Copy-ready code

/* CSS */
color: #7d09cd;
background-color: #7d09cd;
/* Tailwind (arbitrary) */
class="text-[#7d09cd] bg-[#7d09cd]"
/* SCSS */
$brand: #7d09cd;
/* SwiftUI */
Color(red: 0.490, green: 0.035, blue: 0.804)
/* Android */
Color.parseColor("#7d09cd")
/* Flutter */
Color(0xFF7D09CD)
/* Python / OpenCV (BGR) */
(205, 9, 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 #7d09cd · 7.52:1
Use #ffffffAAA at every size.
Aa
White text · 7.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.79:1
AA fail · AA large fail · AAA fail
Reading the other direction: #7d09cd as text scores 7.52:1 on white and 2.79:1 on black.

Accessibility — WCAG contrast

Aa
#7d09cd on white: 7.52:1
AA ✓ pass · AA-large · AAA
Aa
#7d09cd on black: 2.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053D2
deuteranopia · #0054CA
tritanopia · #6B4E78

Color scale — 50 to 950

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

#F8F2FD
#F2E4FB
#E3C3F9
#D094FA
#B95EF8
#A228F6
#8F0AEB
#7d09cd
#5F079C
#470A71
#2C0646
Base = 700Lightest = 50 · #F8F2FDDarkest = 950 · #2C0646
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F2E4FB;
  --brand-200: #E3C3F9;
  --brand-300: #D094FA;
  --brand-400: #B95EF8;
  --brand-500: #A228F6;
  --brand-600: #8F0AEB;
  --brand-700: #7d09cd;
  --brand-800: #5F079C;
  --brand-900: #470A71;
  --brand-950: #2C0646;
  --brand: #7d09cd;
  --brand-ink: #ffffff;
}

Colors that work with #7d09cd

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#F8F4FA
Tinted page background
Border#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#85C705
Second voice, not a rival
Dark variant#4A057A
Hover, pressed, headers
Light variant#F4E7FE
Selected rows, tints
Dark surface#1E1424
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 #7d09cd

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#59CD09
Analogous left#1B09CD
Analogous right#CD09BB
Split-complement 1#BBCD09
Split-complement 2#09CD1B
Triadic 1#CD7D09
Triadic 2#09CD7D
Tetradic#CD1B09

RGB percentages

Red49.0%
Green3.5%
Blue80.4%

CMYK percentages

Cyan39.0%
Magenta95.6%
Yellow0.0%
Key (black)19.6%

Color previews

#7d09cd text on a black background

contrast 2.79:1

Card sample

#7d09cd text on a white background

contrast 7.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7d09cd

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.

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

#7d09cd, answered

What color is #7d09cd?

#7d09cd is a dark electric violet, closest to Dark Violet (ΔE2000 3.9). It sits at 276° on the hue wheel with 92% saturation and 42% lightness, which reads as cool.

What is the RGB value of #7d09cd?

rgb(125, 9, 205) — 125 red, 9 green and 205 blue out of 255, or 49% / 3.5% / 80.4% by channel.

Is #7d09cd a light or a dark color?

It is a dark color. Relative luminance is 0.0896 and perceived brightness is 38%, so white text on it reaches 7.52:1.

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

White. It scores 7.52:1 against #7d09cd, versus 2.79:1 for black — AAA at any size.

What is the complementary color of #7d09cd?

#59CD09 sits directly opposite on the wheel. Softer options are the split-complements #BBCD09 and #09CD1B, which give the same contrast with far less vibration.

What colors go well with #7d09cd?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #85C705 as an accent and #4A057A for hover and pressed states. For a palette, the analogous pair #1B09CD and #CD09BB stays calm, while #59CD09 is the loudest partner.

What is #7d09cd in CMYK for printing?

cmyk(39%, 96%, 0%, 20%). 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 #7d09cd warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C509CD; nudged cooler, #3407CF.

Work with #7d09cd in the Color Lab