Skip to content

#7c398e

a dark, soft violet · neutral · closest name: Rebecca Purple

RGB
124, 57, 142
HSL
287°, 43%, 39%
CMYK
13, 60, 0, 44
Luminance
0.0916

At a glance

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

Hex
#7c398e
Hue
287°
violet
Saturation
43%
soft
Lightness
39%
dark
Brightness
56%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0916
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Soft
Best ink
White
7.41:1
Closest name
Rebecca Purple
ΔE2000 6.2
Where it sits
Hue287° of 360°
Saturation43%
Lightness39%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#7c398e
RGBrgb(124, 57, 142)
HSLhsl(287, 43%, 39%)
CMYKcmyk(13%, 60%, 0%, 44%)
LABlab(36.3 42.7 -34.8)
LCHlch(36.3 55.1 320.8)
OKLCHoklch(0.469 0.147 318.7)
Decimal8141198
Display P3color(display-p3 0.486 0.224 0.557)

Copy-ready code

/* CSS */
color: #7c398e;
background-color: #7c398e;
/* Tailwind (arbitrary) */
class="text-[#7c398e] bg-[#7c398e]"
/* SCSS */
$brand: #7c398e;
/* SwiftUI */
Color(red: 0.486, green: 0.224, blue: 0.557)
/* Android */
Color.parseColor("#7c398e")
/* Flutter */
Color(0xFF7C398E)
/* Python / OpenCV (BGR) */
(142, 57, 124)

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 #7c398e · 7.41:1
Use #ffffffAAA at every size.
Aa
White text · 7.41:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.83:1
AA fail · AA large fail · AAA fail
Reading the other direction: #7c398e as text scores 7.41:1 on white and 2.83:1 on black.

Accessibility — WCAG contrast

Aa
#7c398e on white: 7.41:1
AA ✓ pass · AA-large · AAA
Aa
#7c398e on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #255191
deuteranopia · #3E588C
tritanopia · #7C475E

Color scale — 50 to 950

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

#F9F5FA
#F3EBF5
#E5D1EA
#D5AFDF
#C087CF
#AA5FBF
#9946AF
#7c398e
#662F74
#4B2555
#2F1735
Base = 700Lightest = 50 · #F9F5FADarkest = 950 · #2F1735
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EBF5;
  --brand-200: #E5D1EA;
  --brand-300: #D5AFDF;
  --brand-400: #C087CF;
  --brand-500: #AA5FBF;
  --brand-600: #9946AF;
  --brand-700: #7c398e;
  --brand-800: #662F74;
  --brand-900: #4B2555;
  --brand-950: #2F1735;
  --brand: #7c398e;
  --brand-ink: #ffffff;
}

Colors that work with #7c398e

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#F9F4FA
Tinted page background
Border#E0C5E8
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#609235
Second voice, not a rival
Dark variant#4F255B
Hover, pressed, headers
Light variant#F5EDF8
Selected rows, tints
Dark surface#211424
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 #7c398e

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#4B8E39
Analogous left#51398E
Analogous right#8E3975
Split-complement 1#758E39
Split-complement 2#398E51
Triadic 1#8E7C39
Triadic 2#398E7C
Tetradic#8E5139

RGB percentages

Red48.6%
Green22.4%
Blue55.7%

CMYK percentages

Cyan12.7%
Magenta59.9%
Yellow0.0%
Key (black)44.3%

Color previews

#7c398e text on a black background

contrast 2.83:1

Card sample

#7c398e text on a white background

contrast 7.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(124, 57, 142, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 57, 142, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c398e;
background: linear-gradient(135deg, #7c398e, #8E3967);

Monochromatic scale

Palettes built from #7c398e

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.

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

#7c398e, answered

What color is #7c398e?

#7c398e is a dark soft violet, closest to Rebecca Purple (ΔE2000 6.2). It sits at 287° on the hue wheel with 43% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #7c398e?

rgb(124, 57, 142) — 124 red, 57 green and 142 blue out of 255, or 48.6% / 22.4% / 55.7% by channel.

Is #7c398e a light or a dark color?

It is a dark color. Relative luminance is 0.0916 and perceived brightness is 37%, so white text on it reaches 7.41:1.

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

White. It scores 7.41:1 against #7c398e, versus 2.83:1 for black — AAA at any size.

What is the complementary color of #7c398e?

#4B8E39 sits directly opposite on the wheel. Softer options are the split-complements #758E39 and #398E51, which give the same contrast with far less vibration.

What colors go well with #7c398e?

For interface work: #F9F4FA as the surface, #E0C5E8 for borders, #8A4B9B for secondary text, #609235 as an accent and #4F255B for hover and pressed states. For a palette, the analogous pair #51398E and #8E3975 stays calm, while #4B8E39 is the loudest partner.

What is #7c398e in CMYK for printing?

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

Is #7c398e warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8E3981; nudged cooler, #5C3790.

Work with #7c398e in the Color Lab