Skip to content

#9741fd

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

RGB
151, 65, 253
HSL
267°, 98%, 62%
CMYK
40, 74, 0, 1
Luminance
0.1745

At a glance

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

Hex
#9741fd
Hue
267°
violet
Saturation
98%
electric
Lightness
62%
balanced
Brightness
99%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1745
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.68:1
Closest name
Blue Violet
ΔE2000 6.5
Where it sits
Hue267° of 360°
Saturation98%
Lightness62%
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#9741fd
RGBrgb(151, 65, 253)
HSLhsl(267, 98%, 62%)
CMYKcmyk(40%, 74%, 0%, 1%)
LABlab(48.8 69.8 -79.1)
LCHlch(48.8 105.5 311.4)
OKLCHoklch(0.590 0.258 298.9)
Decimal9912829
Display P3color(display-p3 0.592 0.255 0.992)

Copy-ready code

/* CSS */
color: #9741fd;
background-color: #9741fd;
/* Tailwind (arbitrary) */
class="text-[#9741fd] bg-[#9741fd]"
/* SCSS */
$brand: #9741fd;
/* SwiftUI */
Color(red: 0.592, green: 0.255, blue: 0.992)
/* Android */
Color.parseColor("#9741fd")
/* Flutter */
Color(0xFF9741FD)
/* Python / OpenCV (BGR) */
(253, 65, 151)

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

Accessibility — WCAG contrast

Aa
#9741fd on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#9741fd on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0074FF
deuteranopia · #0072F9
tritanopia · #7E739D

Color scale — 50 to 950

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

#F7F1FD
#EFE3FC
#DBC1FB
#C290FE
#9741fd
#8521FD
#7003F2
#5D02CA
#4B02A1
#380674
#230449
Base = 400Lightest = 50 · #F7F1FDDarkest = 950 · #230449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE3FC;
  --brand-200: #DBC1FB;
  --brand-300: #C290FE;
  --brand-400: #9741fd;
  --brand-500: #8521FD;
  --brand-600: #7003F2;
  --brand-700: #5D02CA;
  --brand-800: #4B02A1;
  --brand-900: #380674;
  --brand-950: #230449;
  --brand: #9741fd;
  --brand-ink: #ffffff;
}

Colors that work with #9741fd

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#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#A2CC00
Second voice, not a rival
Dark variant#3A017E
Hover, pressed, headers
Light variant#F1E6FF
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 #9741fd

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#A7FD41
Analogous left#4149FD
Analogous right#F541FD
Split-complement 1#FDF541
Split-complement 2#49FD41
Triadic 1#FD9741
Triadic 2#41FD97
Tetradic#FD4149

RGB percentages

Red59.2%
Green25.5%
Blue99.2%

CMYK percentages

Cyan40.3%
Magenta74.3%
Yellow0.0%
Key (black)0.8%

Color previews

#9741fd text on a black background

contrast 4.49:1

Card sample

#9741fd text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9741fd;
Background color
Panel with #9741fd background
background-color: #9741fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9741fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 65, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 65, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9741fd;
background: linear-gradient(135deg, #9741fd, #FD41E6);

Monochromatic scale

Palettes built from #9741fd

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.

#9741fd 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.

#9741fd, answered

What color is #9741fd?

#9741fd is a balanced electric violet, closest to Blue Violet (ΔE2000 6.5). It sits at 267° on the hue wheel with 98% saturation and 62% lightness, which reads as cool.

What is the RGB value of #9741fd?

rgb(151, 65, 253) — 151 red, 65 green and 253 blue out of 255, or 59.2% / 25.5% / 99.2% by channel.

Is #9741fd a light or a dark color?

It is a dark color. Relative luminance is 0.1745 and perceived brightness is 51%, so white text on it reaches 4.68:1.

Should I use black or white text on #9741fd?

White. It scores 4.68:1 against #9741fd, versus 4.49:1 for black — AA at any size.

What is the complementary color of #9741fd?

#A7FD41 sits directly opposite on the wheel. Softer options are the split-complements #FDF541 and #49FD41, which give the same contrast with far less vibration.

What colors go well with #9741fd?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #A2CC00 as an accent and #3A017E for hover and pressed states. For a palette, the analogous pair #4149FD and #F541FD stays calm, while #A7FD41 is the loudest partner.

What is #9741fd in CMYK for printing?

cmyk(40%, 74%, 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 #9741fd 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 #DC41FD; nudged cooler, #513FFF.

Work with #9741fd in the Color Lab