Skip to content

#752cfe

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

RGB
117, 44, 254
HSL
261°, 99%, 58%
CMYK
54, 83, 0, 0
Luminance
0.1274

At a glance

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

Hex
#752cfe
Hue
261°
violet
Saturation
99%
electric
Lightness
58%
balanced
Brightness
100%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1274
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.92:1
Closest name
Blue Violet
ΔE2000 4.4
Where it sits
Hue261° of 360°
Saturation99%
Lightness58%
Temperature
Warm ← → Cool72% 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#752cfe
RGBrgb(117, 44, 254)
HSLhsl(261, 99%, 58%)
CMYKcmyk(54%, 83%, 0%, 0%)
LABlab(42.4 73.5 -90.4)
LCHlch(42.4 116.5 309.1)
OKLCHoklch(0.537 0.275 289.0)
Decimal7679230
Display P3color(display-p3 0.459 0.173 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#752cfe on white: 5.92:1
AA ✓ pass · AA-large · AAA
Aa
#752cfe on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068FF
deuteranopia · #005FFA
tritanopia · #3B6E99

Color scale — 50 to 950

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

#F5F1FE
#ECE3FC
#D5C0FB
#B68FFE
#9257FE
#752cfe
#5601F4
#4701CB
#3901A2
#2C0575
#1C0349
Base = 500Lightest = 50 · #F5F1FEDarkest = 950 · #1C0349
:root {
  --brand-50: #F5F1FE;
  --brand-100: #ECE3FC;
  --brand-200: #D5C0FB;
  --brand-300: #B68FFE;
  --brand-400: #9257FE;
  --brand-500: #752cfe;
  --brand-600: #5601F4;
  --brand-700: #4701CB;
  --brand-800: #3901A2;
  --brand-900: #2C0575;
  --brand-950: #1C0349;
  --brand: #752cfe;
  --brand-ink: #ffffff;
}

Colors that work with #752cfe

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#F6F4FA
Tinted page background
Border#CFC0ED
Hairlines and dividers
Muted text#674B9B
Captions on the surface
Accent#B8CC00
Second voice, not a rival
Dark variant#2D017F
Hover, pressed, headers
Light variant#EEE6FF
Selected rows, tints
Dark surface#191424
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 #752cfe

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#B5FE2C
Analogous left#2C4CFE
Analogous right#DE2CFE
Split-complement 1#FEDE2C
Split-complement 2#4CFE2C
Triadic 1#FE752C
Triadic 2#2CFE75
Tetradic#FE2C4C

RGB percentages

Red45.9%
Green17.3%
Blue99.6%

CMYK percentages

Cyan53.9%
Magenta82.7%
Yellow0.0%
Key (black)0.4%

Color previews

#752cfe text on a black background

contrast 3.55:1

Card sample

#752cfe text on a white background

contrast 5.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #752cfe;
Background color
Panel with #752cfe background
background-color: #752cfe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #752cfe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(117, 44, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 44, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #752cfe;
background: linear-gradient(135deg, #752cfe, #FE2CFB);

Monochromatic scale

Palettes built from #752cfe

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.

#752cfe 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.

#752cfe, answered

What color is #752cfe?

#752cfe is a balanced electric violet, closest to Blue Violet (ΔE2000 4.4). It sits at 261° on the hue wheel with 99% saturation and 58% lightness, which reads as cool.

What is the RGB value of #752cfe?

rgb(117, 44, 254) — 117 red, 44 green and 254 blue out of 255, or 45.9% / 17.3% / 99.6% by channel.

Is #752cfe a light or a dark color?

It is a dark color. Relative luminance is 0.1274 and perceived brightness is 44%, so white text on it reaches 5.92:1.

Should I use black or white text on #752cfe?

White. It scores 5.92:1 against #752cfe, versus 3.55:1 for black — AA at any size.

What is the complementary color of #752cfe?

#B5FE2C sits directly opposite on the wheel. Softer options are the split-complements #FEDE2C and #4CFE2C, which give the same contrast with far less vibration.

What colors go well with #752cfe?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #674B9B for secondary text, #B8CC00 as an accent and #2D017F for hover and pressed states. For a palette, the analogous pair #2C4CFE and #DE2CFE stays calm, while #B5FE2C is the loudest partner.

What is #752cfe in CMYK for printing?

cmyk(54%, 83%, 0%, 0%). 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 #752cfe warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C22CFE; nudged cooler, #2B2FFF.

Work with #752cfe in the Color Lab