Skip to content

#9302fd

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

RGB
147, 2, 253
HSL
275°, 98%, 50%
CMYK
42, 99, 0, 1
Luminance
0.1334

At a glance

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

Hex
#9302fd
Hue
275°
violet
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1334
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.73:1
Closest name
Blue Violet
ΔE2000 3.4
Where it sits
Hue275° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool64% 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#9302fd
RGBrgb(147, 2, 253)
HSLhsl(275, 98%, 50%)
CMYKcmyk(42%, 99%, 0%, 1%)
LABlab(43.3 84.1 -88.2)
LCHlch(43.3 121.9 313.7)
OKLCHoklch(0.551 0.293 300.4)
Decimal9634557
Display P3color(display-p3 0.576 0.008 0.992)

Copy-ready code

/* CSS */
color: #9302fd;
background-color: #9302fd;
/* Tailwind (arbitrary) */
class="text-[#9302fd] bg-[#9302fd]"
/* SCSS */
$brand: #9302fd;
/* SwiftUI */
Color(red: 0.576, green: 0.008, blue: 0.992)
/* Android */
Color.parseColor("#9302fd")
/* Flutter */
Color(0xFF9302FD)
/* Python / OpenCV (BGR) */
(253, 2, 147)

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

Accessibility — WCAG contrast

Aa
#9302fd on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#9302fd on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065FF
deuteranopia · #0064F9
tritanopia · #796295

Color scale — 50 to 950

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

#F8F1FE
#F2E3FC
#E2C1FB
#D090FE
#B858FE
#A020FD
#9302fd
#7602CA
#5E01A2
#460675
#2C0449
Base = 600Lightest = 50 · #F8F1FEDarkest = 950 · #2C0449
:root {
  --brand-50: #F8F1FE;
  --brand-100: #F2E3FC;
  --brand-200: #E2C1FB;
  --brand-300: #D090FE;
  --brand-400: #B858FE;
  --brand-500: #A020FD;
  --brand-600: #9302fd;
  --brand-700: #7602CA;
  --brand-800: #5E01A2;
  --brand-900: #460675;
  --brand-950: #2C0449;
  --brand: #9302fd;
  --brand-ink: #ffffff;
}

Colors that work with #9302fd

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#DAC0ED
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#89CC00
Second voice, not a rival
Dark variant#4A017E
Hover, pressed, headers
Light variant#F4E6FF
Selected rows, tints
Dark surface#1D1424
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 #9302fd

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#6CFD02
Analogous left#1602FD
Analogous right#FD02E9
Split-complement 1#E9FD02
Split-complement 2#02FD16
Triadic 1#FD9302
Triadic 2#02FD93
Tetradic#FD1602

RGB percentages

Red57.6%
Green0.8%
Blue99.2%

CMYK percentages

Cyan41.9%
Magenta99.2%
Yellow0.0%
Key (black)0.8%

Color previews

#9302fd text on a black background

contrast 3.67:1

Card sample

#9302fd text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9302fd

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.

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

#9302fd, answered

What color is #9302fd?

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

What is the RGB value of #9302fd?

rgb(147, 2, 253) — 147 red, 2 green and 253 blue out of 255, or 57.6% / 0.8% / 99.2% by channel.

Is #9302fd a light or a dark color?

It is a dark color. Relative luminance is 0.1334 and perceived brightness is 46%, so white text on it reaches 5.73:1.

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

White. It scores 5.73:1 against #9302fd, versus 3.67:1 for black — AA at any size.

What is the complementary color of #9302fd?

#6CFD02 sits directly opposite on the wheel. Softer options are the split-complements #E9FD02 and #02FD16, which give the same contrast with far less vibration.

What colors go well with #9302fd?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #794B9B for secondary text, #89CC00 as an accent and #4A017E for hover and pressed states. For a palette, the analogous pair #1602FD and #FD02E9 stays calm, while #6CFD02 is the loudest partner.

What is #9302fd in CMYK for printing?

cmyk(42%, 99%, 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 #9302fd warm or cool?

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

Work with #9302fd in the Color Lab