Skip to content

#9720eb

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

RGB
151, 32, 235
HSL
275°, 84%, 52%
CMYK
36, 86, 0, 8
Luminance
0.1361

At a glance

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

Hex
#9720eb
Hue
275°
violet
Saturation
84%
electric
Lightness
52%
balanced
Brightness
92%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1361
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.64:1
Closest name
Blue Violet
ΔE2000 2.2
Where it sits
Hue275° of 360°
Saturation84%
Lightness52%
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#9720eb
RGBrgb(151, 32, 235)
HSLhsl(275, 84%, 52%)
CMYKcmyk(36%, 86%, 0%, 8%)
LABlab(43.7 76.6 -77.4)
LCHlch(43.7 108.9 314.7)
OKLCHoklch(0.550 0.268 304.5)
Decimal9904363
Display P3color(display-p3 0.592 0.125 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9720eb on white: 5.64:1
AA ✓ pass · AA-large · AAA
Aa
#9720eb on black: 3.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065F0
deuteranopia · #0067E7
tritanopia · #865E8C

Color scale — 50 to 950

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

#F8F2FC
#F1E6FA
#E2C5F6
#CF98F6
#B765F1
#9720eb
#8C14E1
#7511BB
#5D0D96
#450E6C
#2B0944
Base = 500Lightest = 50 · #F8F2FCDarkest = 950 · #2B0944
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F1E6FA;
  --brand-200: #E2C5F6;
  --brand-300: #CF98F6;
  --brand-400: #B765F1;
  --brand-500: #9720eb;
  --brand-600: #8C14E1;
  --brand-700: #7511BB;
  --brand-800: #5D0D96;
  --brand-900: #450E6C;
  --brand-950: #2B0944;
  --brand: #9720eb;
  --brand-ink: #ffffff;
}

Colors that work with #9720eb

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#7A4B9B
Captions on the surface
Accent#83BF0D
Second voice, not a rival
Dark variant#490B75
Hover, pressed, headers
Light variant#F4E8FD
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 #9720eb

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#74EB20
Analogous left#3220EB
Analogous right#EB20D9
Split-complement 1#D9EB20
Split-complement 2#20EB32
Triadic 1#EB9720
Triadic 2#20EB97
Tetradic#EB3220

RGB percentages

Red59.2%
Green12.5%
Blue92.2%

CMYK percentages

Cyan35.7%
Magenta86.4%
Yellow0.0%
Key (black)7.8%

Color previews

#9720eb text on a black background

contrast 3.72:1

Card sample

#9720eb text on a white background

contrast 5.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9720eb;
Background color
Panel with #9720eb background
background-color: #9720eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9720eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 32, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 32, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9720eb;
background: linear-gradient(135deg, #9720eb, #EB20B8);

Monochromatic scale

Palettes built from #9720eb

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.

#9720eb 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.

#9720eb, answered

What color is #9720eb?

#9720eb is a balanced electric violet, closest to Blue Violet (ΔE2000 2.2). It sits at 275° on the hue wheel with 84% saturation and 52% lightness, which reads as cool.

What is the RGB value of #9720eb?

rgb(151, 32, 235) — 151 red, 32 green and 235 blue out of 255, or 59.2% / 12.5% / 92.2% by channel.

Is #9720eb a light or a dark color?

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

Should I use black or white text on #9720eb?

White. It scores 5.64:1 against #9720eb, versus 3.72:1 for black — AA at any size.

What is the complementary color of #9720eb?

#74EB20 sits directly opposite on the wheel. Softer options are the split-complements #D9EB20 and #20EB32, which give the same contrast with far less vibration.

What colors go well with #9720eb?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #83BF0D as an accent and #490B75 for hover and pressed states. For a palette, the analogous pair #3220EB and #EB20D9 stays calm, while #74EB20 is the loudest partner.

What is #9720eb in CMYK for printing?

cmyk(36%, 86%, 0%, 8%). 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 #9720eb 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 #E220EB; nudged cooler, #4C1EED.

Work with #9720eb in the Color Lab