Skip to content

#751cfb

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

RGB
117, 28, 251
HSL
264°, 97%, 55%
CMYK
53, 89, 0, 2
Luminance
0.1158

At a glance

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

Hex
#751cfb
Hue
264°
violet
Saturation
97%
electric
Lightness
55%
balanced
Brightness
98%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1158
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.33:1
Closest name
Blue Violet
ΔE2000 4.4
Where it sits
Hue264° of 360°
Saturation97%
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#751cfb
RGBrgb(117, 28, 251)
HSLhsl(264, 97%, 55%)
CMYKcmyk(53%, 89%, 0%, 2%)
LABlab(40.5 77.3 -91.7)
LCHlch(40.5 120.0 310.1)
OKLCHoklch(0.524 0.281 290.3)
Decimal7675131
Display P3color(display-p3 0.459 0.110 0.984)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#751cfb on white: 6.33:1
AA ✓ pass · AA-large · AAA
Aa
#751cfb on black: 3.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063FF
deuteranopia · #005AF7
tritanopia · #3F6895

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #751cfb 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
#EDE4FC
#D8C1FB
#BC91FD
#9A5AFC
#751cfb
#6204F1
#5204C8
#4203A0
#320774
#1F0448
Base = 500Lightest = 50 · #F6F1FDDarkest = 950 · #1F0448
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EDE4FC;
  --brand-200: #D8C1FB;
  --brand-300: #BC91FD;
  --brand-400: #9A5AFC;
  --brand-500: #751cfb;
  --brand-600: #6204F1;
  --brand-700: #5204C8;
  --brand-800: #4203A0;
  --brand-900: #320774;
  --brand-950: #1F0448;
  --brand: #751cfb;
  --brand-ink: #ffffff;
}

Colors that work with #751cfb

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#D2C0ED
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#AECC00
Second voice, not a rival
Dark variant#33027D
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 #751cfb

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#A2FB1C
Analogous left#1C33FB
Analogous right#E41CFB
Split-complement 1#FBE41C
Split-complement 2#33FB1C
Triadic 1#FB751C
Triadic 2#1CFB75
Tetradic#FB1C33

RGB percentages

Red45.9%
Green11.0%
Blue98.4%

CMYK percentages

Cyan53.4%
Magenta88.8%
Yellow0.0%
Key (black)1.6%

Color previews

#751cfb text on a black background

contrast 3.32:1

Card sample

#751cfb text on a white background

contrast 6.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #751cfb

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.

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

#751cfb, answered

What color is #751cfb?

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

What is the RGB value of #751cfb?

rgb(117, 28, 251) — 117 red, 28 green and 251 blue out of 255, or 45.9% / 11% / 98.4% by channel.

Is #751cfb a light or a dark color?

It is a dark color. Relative luminance is 0.1158 and perceived brightness is 42%, so white text on it reaches 6.33:1.

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

White. It scores 6.33:1 against #751cfb, versus 3.32:1 for black — AA at any size.

What is the complementary color of #751cfb?

#A2FB1C sits directly opposite on the wheel. Softer options are the split-complements #FBE41C and #33FB1C, which give the same contrast with far less vibration.

What colors go well with #751cfb?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #AECC00 as an accent and #33027D for hover and pressed states. For a palette, the analogous pair #1C33FB and #E41CFB stays calm, while #A2FB1C is the loudest partner.

What is #751cfb in CMYK for printing?

cmyk(53%, 89%, 0%, 2%). 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 #751cfb 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 #C71CFB; nudged cooler, #211AFD.

Work with #751cfb in the Color Lab