Skip to content

#973dfd

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

RGB
151, 61, 253
HSL
268°, 98%, 62%
CMYK
40, 76, 0, 1
Luminance
0.1701

At a glance

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

Hex
#973dfd
Hue
268°
violet
Saturation
98%
electric
Lightness
62%
balanced
Brightness
99%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1701
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.77:1
Closest name
Blue Violet
ΔE2000 6
Where it sits
Hue268° 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#973dfd
RGBrgb(151, 61, 253)
HSLhsl(268, 98%, 62%)
CMYKcmyk(40%, 76%, 0%, 1%)
LABlab(48.3 71.4 -80.0)
LCHlch(48.3 107.2 311.8)
OKLCHoklch(0.587 0.262 299.2)
Decimal9911805
Display P3color(display-p3 0.592 0.239 0.992)

Copy-ready code

/* CSS */
color: #973dfd;
background-color: #973dfd;
/* Tailwind (arbitrary) */
class="text-[#973dfd] bg-[#973dfd]"
/* SCSS */
$brand: #973dfd;
/* SwiftUI */
Color(red: 0.592, green: 0.239, blue: 0.992)
/* Android */
Color.parseColor("#973dfd")
/* Flutter */
Color(0xFF973DFD)
/* Python / OpenCV (BGR) */
(253, 61, 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 #973dfd · 4.77:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.77:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.40:1
AA fail · AA large pass · AAA fail
Reading the other direction: #973dfd as text scores 4.77:1 on white and 4.40:1 on black.

Accessibility — WCAG contrast

Aa
#973dfd on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#973dfd on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0072FF
deuteranopia · #0071F9
tritanopia · #7E719C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #973dfd 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
#DCC1FB
#C390FE
#973dfd
#8821FD
#7302F2
#6002CA
#4D02A2
#3A0674
#240449
Base = 400Lightest = 50 · #F7F1FDDarkest = 950 · #240449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE3FC;
  --brand-200: #DCC1FB;
  --brand-300: #C390FE;
  --brand-400: #973dfd;
  --brand-500: #8821FD;
  --brand-600: #7302F2;
  --brand-700: #6002CA;
  --brand-800: #4D02A2;
  --brand-900: #3A0674;
  --brand-950: #240449;
  --brand: #973dfd;
  --brand-ink: #ffffff;
}

Colors that work with #973dfd

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#9FCC00
Second voice, not a rival
Dark variant#3C017E
Hover, pressed, headers
Light variant#F1E6FF
Selected rows, tints
Dark surface#1C1424
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 #973dfd

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#A3FD3D
Analogous left#3D43FD
Analogous right#F73DFD
Split-complement 1#FDF73D
Split-complement 2#43FD3D
Triadic 1#FD973D
Triadic 2#3DFD97
Tetradic#FD3D43

RGB percentages

Red59.2%
Green23.9%
Blue99.2%

CMYK percentages

Cyan40.3%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#973dfd text on a black background

contrast 4.40:1

Card sample

#973dfd text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #973dfd;
Background color
Panel with #973dfd background
background-color: #973dfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #973dfd;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #973dfd

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.

#973dfd 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.

#973dfd, answered

What color is #973dfd?

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

What is the RGB value of #973dfd?

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

Is #973dfd a light or a dark color?

It is a dark color. Relative luminance is 0.1701 and perceived brightness is 50%, so white text on it reaches 4.77:1.

Should I use black or white text on #973dfd?

White. It scores 4.77:1 against #973dfd, versus 4.40:1 for black — AA at any size.

What is the complementary color of #973dfd?

#A3FD3D sits directly opposite on the wheel. Softer options are the split-complements #FDF73D and #43FD3D, which give the same contrast with far less vibration.

What colors go well with #973dfd?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #9FCC00 as an accent and #3C017E for hover and pressed states. For a palette, the analogous pair #3D43FD and #F73DFD stays calm, while #A3FD3D is the loudest partner.

What is #973dfd in CMYK for printing?

cmyk(40%, 76%, 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 #973dfd 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 #DD3DFD; nudged cooler, #4F3BFF.

Work with #973dfd in the Color Lab