Skip to content

#751eb7

a dark, vivid violet · cool · closest name: Rebecca Purple

RGB
117, 30, 183
HSL
274°, 72%, 42%
CMYK
36, 84, 0, 28
Luminance
0.0813

At a glance

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

Hex
#751eb7
Hue
274°
violet
Saturation
72%
vivid
Lightness
42%
dark
Brightness
72%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0813
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
8.00:1
Closest name
Rebecca Purple
ΔE2000 5.6
Where it sits
Hue274° of 360°
Saturation72%
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#751eb7
RGBrgb(117, 30, 183)
HSLhsl(274, 72%, 42%)
CMYKcmyk(36%, 84%, 0%, 28%)
LABlab(34.3 61.5 -62.9)
LCHlch(34.3 87.9 314.3)
OKLCHoklch(0.462 0.217 304.3)
Decimal7675575
Display P3color(display-p3 0.459 0.118 0.718)

Copy-ready code

/* CSS */
color: #751eb7;
background-color: #751eb7;
/* Tailwind (arbitrary) */
class="text-[#751eb7] bg-[#751eb7]"
/* SCSS */
$brand: #751eb7;
/* SwiftUI */
Color(red: 0.459, green: 0.118, blue: 0.718)
/* Android */
Color.parseColor("#751eb7")
/* Flutter */
Color(0xFF751EB7)
/* Python / OpenCV (BGR) */
(183, 30, 117)

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

Accessibility — WCAG contrast

Aa
#751eb7 on white: 8.00:1
AA ✓ pass · AA-large · AAA
Aa
#751eb7 on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004FBB
deuteranopia · #0050B4
tritanopia · #684A6D

Color scale — 50 to 950

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

#F8F3FC
#F1E7F8
#E1C9F3
#CC9FEF
#B36EE7
#9A3EDF
#8623D2
#751eb7
#5A178C
#431566
#2A0D40
Base = 700Lightest = 50 · #F8F3FCDarkest = 950 · #2A0D40
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E7F8;
  --brand-200: #E1C9F3;
  --brand-300: #CC9FEF;
  --brand-400: #B36EE7;
  --brand-500: #9A3EDF;
  --brand-600: #8623D2;
  --brand-700: #751eb7;
  --brand-800: #5A178C;
  --brand-900: #431566;
  --brand-950: #2A0D40;
  --brand: #751eb7;
  --brand-ink: #ffffff;
}

Colors that work with #751eb7

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#82B319
Second voice, not a rival
Dark variant#46126E
Hover, pressed, headers
Light variant#F4E9FB
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 #751eb7

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#60B71E
Analogous left#291EB7
Analogous right#B71EAD
Split-complement 1#ADB71E
Split-complement 2#1EB729
Triadic 1#B7751E
Triadic 2#1EB775
Tetradic#B7291E

RGB percentages

Red45.9%
Green11.8%
Blue71.8%

CMYK percentages

Cyan36.1%
Magenta83.6%
Yellow0.0%
Key (black)28.2%

Color previews

#751eb7 text on a black background

contrast 2.63:1

Card sample

#751eb7 text on a white background

contrast 8.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #751eb7;
Background color
Panel with #751eb7 background
background-color: #751eb7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #751eb7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(117, 30, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 30, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #751eb7;
background: linear-gradient(135deg, #751eb7, #B71E93);

Monochromatic scale

Palettes built from #751eb7

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.

#751eb7 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.

#751eb7, answered

What color is #751eb7?

#751eb7 is a dark vivid violet, closest to Rebecca Purple (ΔE2000 5.6). It sits at 274° on the hue wheel with 72% saturation and 42% lightness, which reads as cool.

What is the RGB value of #751eb7?

rgb(117, 30, 183) — 117 red, 30 green and 183 blue out of 255, or 45.9% / 11.8% / 71.8% by channel.

Is #751eb7 a light or a dark color?

It is a dark color. Relative luminance is 0.0813 and perceived brightness is 36%, so white text on it reaches 8.00:1.

Should I use black or white text on #751eb7?

White. It scores 8.00:1 against #751eb7, versus 2.63:1 for black — AAA at any size.

What is the complementary color of #751eb7?

#60B71E sits directly opposite on the wheel. Softer options are the split-complements #ADB71E and #1EB729, which give the same contrast with far less vibration.

What colors go well with #751eb7?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #82B319 as an accent and #46126E for hover and pressed states. For a palette, the analogous pair #291EB7 and #B71EAD stays calm, while #60B71E is the loudest partner.

What is #751eb7 in CMYK for printing?

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

Is #751eb7 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 #AD1EB7; nudged cooler, #3C1CB9.

Work with #751eb7 in the Color Lab