Skip to content

#7d2abe

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

RGB
125, 42, 190
HSL
274°, 64%, 46%
CMYK
34, 78, 0, 26
Luminance
0.0973

At a glance

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

Hex
#7d2abe
Hue
274°
violet
Saturation
64%
vivid
Lightness
46%
balanced
Brightness
75%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0973
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.13:1
Closest name
Dark Violet
ΔE2000 4.3
Where it sits
Hue274° of 360°
Saturation64%
Lightness46%
Temperature
Warm ← → Cool65% 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#7d2abe
RGBrgb(125, 42, 190)
HSLhsl(274, 64%, 46%)
CMYKcmyk(34%, 78%, 0%, 26%)
LABlab(37.4 60.2 -61.9)
LCHlch(37.4 86.3 314.2)
OKLCHoklch(0.487 0.215 304.8)
Decimal8202942
Display P3color(display-p3 0.490 0.165 0.745)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7d2abe on white: 7.13:1
AA ✓ pass · AA-large · AAA
Aa
#7d2abe on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056C2
deuteranopia · #0058BB
tritanopia · #715174

Color scale — 50 to 950

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

#F8F4FB
#F1E8F7
#E0CBF0
#CBA3EB
#B175E1
#9747D6
#7d2abe
#6E25A7
#581E86
#421961
#29103D
Base = 600Lightest = 50 · #F8F4FBDarkest = 950 · #29103D
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E8F7;
  --brand-200: #E0CBF0;
  --brand-300: #CBA3EB;
  --brand-400: #B175E1;
  --brand-500: #9747D6;
  --brand-600: #7d2abe;
  --brand-700: #6E25A7;
  --brand-800: #581E86;
  --brand-900: #421961;
  --brand-950: #29103D;
  --brand: #7d2abe;
  --brand-ink: #ffffff;
}

Colors that work with #7d2abe

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#80AB21
Second voice, not a rival
Dark variant#451768
Hover, pressed, headers
Light variant#F3EAFA
Selected rows, tints
Dark surface#1D1424
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 #7d2abe

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
  • Text on black or near-black surfaces
  • 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#6BBE2A
Analogous left#332ABE
Analogous right#BE2AB5
Split-complement 1#B5BE2A
Split-complement 2#2ABE33
Triadic 1#BE7D2A
Triadic 2#2ABE7D
Tetradic#BE332A

RGB percentages

Red49.0%
Green16.5%
Blue74.5%

CMYK percentages

Cyan34.2%
Magenta77.9%
Yellow0.0%
Key (black)25.5%

Color previews

#7d2abe text on a black background

contrast 2.95:1

Card sample

#7d2abe text on a white background

contrast 7.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7d2abe

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.

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

#7d2abe, answered

What color is #7d2abe?

#7d2abe is a balanced vivid violet, closest to Dark Violet (ΔE2000 4.3). It sits at 274° on the hue wheel with 64% saturation and 46% lightness, which reads as cool.

What is the RGB value of #7d2abe?

rgb(125, 42, 190) — 125 red, 42 green and 190 blue out of 255, or 49% / 16.5% / 74.5% by channel.

Is #7d2abe a light or a dark color?

It is a dark color. Relative luminance is 0.0973 and perceived brightness is 39%, so white text on it reaches 7.13:1.

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

White. It scores 7.13:1 against #7d2abe, versus 2.95:1 for black — AAA at any size.

What is the complementary color of #7d2abe?

#6BBE2A sits directly opposite on the wheel. Softer options are the split-complements #B5BE2A and #2ABE33, which give the same contrast with far less vibration.

What colors go well with #7d2abe?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #80AB21 as an accent and #451768 for hover and pressed states. For a palette, the analogous pair #332ABE and #BE2AB5 stays calm, while #6BBE2A is the loudest partner.

What is #7d2abe in CMYK for printing?

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

Is #7d2abe warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B32ABE; nudged cooler, #4528C0.

Work with #7d2abe in the Color Lab