Skip to content

#780ef1

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

RGB
120, 14, 241
HSL
268°, 89%, 50%
CMYK
50, 94, 0, 6
Luminance
0.1066

At a glance

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

Hex
#780ef1
Hue
268°
violet
Saturation
89%
electric
Lightness
50%
balanced
Brightness
95%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1066
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.71:1
Closest name
Blue Violet
ΔE2000 4.2
Where it sits
Hue268° of 360°
Saturation89%
Lightness50%
Temperature
Warm ← → Cool68% 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#780ef1
RGBrgb(120, 14, 241)
HSLhsl(268, 89%, 50%)
CMYKcmyk(50%, 94%, 0%, 6%)
LABlab(39.0 78.0 -88.6)
LCHlch(39.0 118.0 311.4)
OKLCHoklch(0.511 0.277 293.4)
Decimal7868145
Display P3color(display-p3 0.471 0.055 0.945)

Copy-ready code

/* CSS */
color: #780ef1;
background-color: #780ef1;
/* Tailwind (arbitrary) */
class="text-[#780ef1] bg-[#780ef1]"
/* SCSS */
$brand: #780ef1;
/* SwiftUI */
Color(red: 0.471, green: 0.055, blue: 0.945)
/* Android */
Color.parseColor("#780ef1")
/* Flutter */
Color(0xFF780EF1)
/* Python / OpenCV (BGR) */
(241, 14, 120)

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 #780ef1 · 6.71:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.71:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.13:1
AA fail · AA large pass · AAA fail
Reading the other direction: #780ef1 as text scores 6.71:1 on white and 3.13:1 on black.

Accessibility — WCAG contrast

Aa
#780ef1 on white: 6.71:1
AA ✓ pass · AA-large · AAA
Aa
#780ef1 on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EF6
deuteranopia · #0058ED
tritanopia · #4F618E

Color scale — 50 to 950

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

#F7F2FD
#EFE5FB
#DCC4F8
#C495F9
#A660F6
#882BF3
#780ef1
#600BC1
#4D099A
#3A0B6F
#240746
Base = 600Lightest = 50 · #F7F2FDDarkest = 950 · #240746
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FB;
  --brand-200: #DCC4F8;
  --brand-300: #C495F9;
  --brand-400: #A660F6;
  --brand-500: #882BF3;
  --brand-600: #780ef1;
  --brand-700: #600BC1;
  --brand-800: #4D099A;
  --brand-900: #3A0B6F;
  --brand-950: #240746;
  --brand: #780ef1;
  --brand-ink: #ffffff;
}

Colors that work with #780ef1

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#D5C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#9CC507
Second voice, not a rival
Dark variant#3C0778
Hover, pressed, headers
Light variant#F1E7FE
Selected rows, tints
Dark surface#1B1424
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 #780ef1

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#87F10E
Analogous left#0E16F1
Analogous right#E90EF1
Split-complement 1#F1E90E
Split-complement 2#16F10E
Triadic 1#F1780E
Triadic 2#0EF178
Tetradic#F10E16

RGB percentages

Red47.1%
Green5.5%
Blue94.5%

CMYK percentages

Cyan50.2%
Magenta94.2%
Yellow0.0%
Key (black)5.5%

Color previews

#780ef1 text on a black background

contrast 3.13:1

Card sample

#780ef1 text on a white background

contrast 6.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #780ef1;
Background color
Panel with #780ef1 background
background-color: #780ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #780ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(120, 14, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 14, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #780ef1;
background: linear-gradient(135deg, #780ef1, #F10ED3);

Monochromatic scale

Palettes built from #780ef1

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.

#780ef1 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.

#780ef1, answered

What color is #780ef1?

#780ef1 is a balanced electric violet, closest to Blue Violet (ΔE2000 4.2). It sits at 268° on the hue wheel with 89% saturation and 50% lightness, which reads as cool.

What is the RGB value of #780ef1?

rgb(120, 14, 241) — 120 red, 14 green and 241 blue out of 255, or 47.1% / 5.5% / 94.5% by channel.

Is #780ef1 a light or a dark color?

It is a dark color. Relative luminance is 0.1066 and perceived brightness is 41%, so white text on it reaches 6.71:1.

Should I use black or white text on #780ef1?

White. It scores 6.71:1 against #780ef1, versus 3.13:1 for black — AA at any size.

What is the complementary color of #780ef1?

#87F10E sits directly opposite on the wheel. Softer options are the split-complements #F1E90E and #16F10E, which give the same contrast with far less vibration.

What colors go well with #780ef1?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #9CC507 as an accent and #3C0778 for hover and pressed states. For a palette, the analogous pair #0E16F1 and #E90EF1 stays calm, while #87F10E is the loudest partner.

What is #780ef1 in CMYK for printing?

cmyk(50%, 94%, 0%, 6%). 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 #780ef1 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB0EF1; nudged cooler, #230BF4.

Work with #780ef1 in the Color Lab