Skip to content

#751dfd

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

RGB
117, 29, 253
HSL
264°, 98%, 55%
CMYK
54, 89, 0, 1
Luminance
0.1175

At a glance

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

Hex
#751dfd
Hue
264°
violet
Saturation
98%
electric
Lightness
55%
balanced
Brightness
99%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1175
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.27:1
Closest name
Blue Violet
ΔE2000 4.4
Where it sits
Hue264° of 360°
Saturation98%
Lightness55%
Temperature
Warm ← → Cool70% 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#751dfd
RGBrgb(117, 29, 253)
HSLhsl(264, 98%, 55%)
CMYKcmyk(54%, 89%, 0%, 1%)
LABlab(40.8 77.6 -92.4)
LCHlch(40.8 120.6 310.0)
OKLCHoklch(0.526 0.283 289.9)
Decimal7675389
Display P3color(display-p3 0.459 0.114 0.992)

Copy-ready code

/* CSS */
color: #751dfd;
background-color: #751dfd;
/* Tailwind (arbitrary) */
class="text-[#751dfd] bg-[#751dfd]"
/* SCSS */
$brand: #751dfd;
/* SwiftUI */
Color(red: 0.459, green: 0.114, blue: 0.992)
/* Android */
Color.parseColor("#751dfd")
/* Flutter */
Color(0xFF751DFD)
/* Python / OpenCV (BGR) */
(253, 29, 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 #751dfd · 6.27:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.27:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.35:1
AA fail · AA large pass · AAA fail
Reading the other direction: #751dfd as text scores 6.27:1 on white and 3.35:1 on black.

Accessibility — WCAG contrast

Aa
#751dfd on white: 6.27:1
AA ✓ pass · AA-large · AAA
Aa
#751dfd on black: 3.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064FF
deuteranopia · #005BF9
tritanopia · #3D6997

Color scale — 50 to 950

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

#F6F1FD
#EDE3FC
#D8C1FB
#BB90FE
#9958FD
#751dfd
#6102F3
#5102CA
#4101A2
#310674
#1F0449
Base = 500Lightest = 50 · #F6F1FDDarkest = 950 · #1F0449
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EDE3FC;
  --brand-200: #D8C1FB;
  --brand-300: #BB90FE;
  --brand-400: #9958FD;
  --brand-500: #751dfd;
  --brand-600: #6102F3;
  --brand-700: #5102CA;
  --brand-800: #4101A2;
  --brand-900: #310674;
  --brand-950: #1F0449;
  --brand: #751dfd;
  --brand-ink: #ffffff;
}

Colors that work with #751dfd

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#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#AECC00
Second voice, not a rival
Dark variant#32017E
Hover, pressed, headers
Light variant#F0E6FF
Selected rows, tints
Dark surface#1A1424
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 #751dfd

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#A5FD1D
Analogous left#1D35FD
Analogous right#E51DFD
Split-complement 1#FDE51D
Split-complement 2#35FD1D
Triadic 1#FD751D
Triadic 2#1DFD75
Tetradic#FD1D35

RGB percentages

Red45.9%
Green11.4%
Blue99.2%

CMYK percentages

Cyan53.8%
Magenta88.5%
Yellow0.0%
Key (black)0.8%

Color previews

#751dfd text on a black background

contrast 3.35:1

Card sample

#751dfd text on a white background

contrast 6.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #751dfd

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.

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

#751dfd, answered

What color is #751dfd?

#751dfd is a balanced electric violet, closest to Blue Violet (ΔE2000 4.4). It sits at 264° on the hue wheel with 98% saturation and 55% lightness, which reads as cool.

What is the RGB value of #751dfd?

rgb(117, 29, 253) — 117 red, 29 green and 253 blue out of 255, or 45.9% / 11.4% / 99.2% by channel.

Is #751dfd a light or a dark color?

It is a dark color. Relative luminance is 0.1175 and perceived brightness is 43%, so white text on it reaches 6.27:1.

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

White. It scores 6.27:1 against #751dfd, versus 3.35:1 for black — AA at any size.

What is the complementary color of #751dfd?

#A5FD1D sits directly opposite on the wheel. Softer options are the split-complements #FDE51D and #35FD1D, which give the same contrast with far less vibration.

What colors go well with #751dfd?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #AECC00 as an accent and #32017E for hover and pressed states. For a palette, the analogous pair #1D35FD and #E51DFD stays calm, while #A5FD1D is the loudest partner.

What is #751dfd in CMYK for printing?

cmyk(54%, 89%, 0%, 1%). 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 #751dfd warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C71DFD; nudged cooler, #211BFF.

Work with #751dfd in the Color Lab