Skip to content

#9f07fd

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

RGB
159, 7, 253
HSL
277°, 98%, 51%
CMYK
37, 97, 0, 1
Luminance
0.1461

At a glance

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

Hex
#9f07fd
Hue
277°
violet
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1461
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.35:1
Closest name
Blue Violet
ΔE2000 4.2
Where it sits
Hue277° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool63% 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#9f07fd
RGBrgb(159, 7, 253)
HSLhsl(277, 98%, 51%)
CMYKcmyk(37%, 97%, 0%, 1%)
LABlab(45.1 84.8 -85.1)
LCHlch(45.1 120.2 314.9)
OKLCHoklch(0.567 0.293 304.0)
Decimal10422269
Display P3color(display-p3 0.624 0.027 0.992)

Copy-ready code

/* CSS */
color: #9f07fd;
background-color: #9f07fd;
/* Tailwind (arbitrary) */
class="text-[#9f07fd] bg-[#9f07fd]"
/* SCSS */
$brand: #9f07fd;
/* SwiftUI */
Color(red: 0.624, green: 0.027, blue: 0.992)
/* Android */
Color.parseColor("#9f07fd")
/* Flutter */
Color(0xFF9F07FD)
/* Python / OpenCV (BGR) */
(253, 7, 159)

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

Accessibility — WCAG contrast

Aa
#9f07fd on white: 5.35:1
AA ✓ pass · AA-large · AAA
Aa
#9f07fd on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068FF
deuteranopia · #006AF9
tritanopia · #8B6195

Color scale — 50 to 950

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

#F9F1FE
#F3E3FC
#E5C1FB
#D490FE
#BE58FE
#A920FD
#9f07fd
#7E02CA
#6501A2
#4A0675
#2E0449
Base = 600Lightest = 50 · #F9F1FEDarkest = 950 · #2E0449
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F3E3FC;
  --brand-200: #E5C1FB;
  --brand-300: #D490FE;
  --brand-400: #BE58FE;
  --brand-500: #A920FD;
  --brand-600: #9f07fd;
  --brand-700: #7E02CA;
  --brand-800: #6501A2;
  --brand-900: #4A0675;
  --brand-950: #2E0449;
  --brand: #9f07fd;
  --brand-ink: #ffffff;
}

Colors that work with #9f07fd

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#F8F4FA
Tinted page background
Border#DCC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#81CC00
Second voice, not a rival
Dark variant#4F017E
Hover, pressed, headers
Light variant#F5E6FF
Selected rows, tints
Dark surface#1E1424
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 #9f07fd

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#65FD07
Analogous left#2407FD
Analogous right#FD07E0
Split-complement 1#E0FD07
Split-complement 2#07FD24
Triadic 1#FD9F07
Triadic 2#07FD9F
Tetradic#FD2407

RGB percentages

Red62.4%
Green2.7%
Blue99.2%

CMYK percentages

Cyan37.2%
Magenta97.2%
Yellow0.0%
Key (black)0.8%

Color previews

#9f07fd text on a black background

contrast 3.92:1

Card sample

#9f07fd text on a white background

contrast 5.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9f07fd;
Background color
Panel with #9f07fd background
background-color: #9f07fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9f07fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(159, 7, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 7, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f07fd;
background: linear-gradient(135deg, #9f07fd, #FD07B7);

Monochromatic scale

Palettes built from #9f07fd

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.

#9f07fd 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.

#9f07fd, answered

What color is #9f07fd?

#9f07fd is a balanced electric violet, closest to Blue Violet (ΔE2000 4.2). It sits at 277° on the hue wheel with 98% saturation and 51% lightness, which reads as cool.

What is the RGB value of #9f07fd?

rgb(159, 7, 253) — 159 red, 7 green and 253 blue out of 255, or 62.4% / 2.7% / 99.2% by channel.

Is #9f07fd a light or a dark color?

It is a dark color. Relative luminance is 0.1461 and perceived brightness is 48%, so white text on it reaches 5.35:1.

Should I use black or white text on #9f07fd?

White. It scores 5.35:1 against #9f07fd, versus 3.92:1 for black — AA at any size.

What is the complementary color of #9f07fd?

#65FD07 sits directly opposite on the wheel. Softer options are the split-complements #E0FD07 and #07FD24, which give the same contrast with far less vibration.

What colors go well with #9f07fd?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7C4B9B for secondary text, #81CC00 as an accent and #4F017E for hover and pressed states. For a palette, the analogous pair #2407FD and #FD07E0 stays calm, while #65FD07 is the loudest partner.

What is #9f07fd in CMYK for printing?

cmyk(37%, 97%, 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 #9f07fd warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F907FD; nudged cooler, #4405FF.

Work with #9f07fd in the Color Lab