Skip to content

#8016df

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

RGB
128, 22, 223
HSL
272°, 82%, 48%
CMYK
43, 90, 0, 13
Luminance
0.1049

At a glance

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

Hex
#8016df
Hue
272°
violet
Saturation
82%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1049
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.78:1
Closest name
Blue Violet
ΔE2000 3.2
Where it sits
Hue272° of 360°
Saturation82%
Lightness48%
Temperature
Warm ← → Cool66% 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#8016df
RGBrgb(128, 22, 223)
HSLhsl(272, 82%, 48%)
CMYKcmyk(43%, 90%, 0%, 13%)
LABlab(38.7 73.5 -78.8)
LCHlch(38.7 107.8 313.0)
OKLCHoklch(0.506 0.259 299.5)
Decimal8394463
Display P3color(display-p3 0.502 0.086 0.875)

Copy-ready code

/* CSS */
color: #8016df;
background-color: #8016df;
/* Tailwind (arbitrary) */
class="text-[#8016df] bg-[#8016df]"
/* SCSS */
$brand: #8016df;
/* SwiftUI */
Color(red: 0.502, green: 0.086, blue: 0.875)
/* Android */
Color.parseColor("#8016df")
/* Flutter */
Color(0xFF8016DF)
/* Python / OpenCV (BGR) */
(223, 22, 128)

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

Accessibility — WCAG contrast

Aa
#8016df on white: 6.78:1
AA ✓ pass · AA-large · AAA
Aa
#8016df on black: 3.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BE4
deuteranopia · #0059DC
tritanopia · #685984

Color scale — 50 to 950

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

#F8F2FC
#F0E6F9
#DFC6F6
#C999F5
#AF66F0
#9433EB
#8016df
#6A12BA
#550F95
#400F6B
#280943
Base = 600Lightest = 50 · #F8F2FCDarkest = 950 · #280943
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F0E6F9;
  --brand-200: #DFC6F6;
  --brand-300: #C999F5;
  --brand-400: #AF66F0;
  --brand-500: #9433EB;
  --brand-600: #8016df;
  --brand-700: #6A12BA;
  --brand-800: #550F95;
  --brand-900: #400F6B;
  --brand-950: #280943;
  --brand: #8016df;
  --brand-ink: #ffffff;
}

Colors that work with #8016df

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#D7C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#8DBE0E
Second voice, not a rival
Dark variant#430B74
Hover, pressed, headers
Light variant#F3E8FD
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 #8016df

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#75DF16
Analogous left#1B16DF
Analogous right#DF16D9
Split-complement 1#D9DF16
Split-complement 2#16DF1B
Triadic 1#DF8016
Triadic 2#16DF80
Tetradic#DF1B16

RGB percentages

Red50.2%
Green8.6%
Blue87.5%

CMYK percentages

Cyan42.6%
Magenta90.1%
Yellow0.0%
Key (black)12.5%

Color previews

#8016df text on a black background

contrast 3.10:1

Card sample

#8016df text on a white background

contrast 6.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8016df;
Background color
Panel with #8016df background
background-color: #8016df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8016df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 22, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 22, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8016df;
background: linear-gradient(135deg, #8016df, #DF16B8);

Monochromatic scale

Palettes built from #8016df

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.

#8016df 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.

#8016df, answered

What color is #8016df?

#8016df is a balanced electric violet, closest to Blue Violet (ΔE2000 3.2). It sits at 272° on the hue wheel with 82% saturation and 48% lightness, which reads as cool.

What is the RGB value of #8016df?

rgb(128, 22, 223) — 128 red, 22 green and 223 blue out of 255, or 50.2% / 8.6% / 87.5% by channel.

Is #8016df a light or a dark color?

It is a dark color. Relative luminance is 0.1049 and perceived brightness is 41%, so white text on it reaches 6.78:1.

Should I use black or white text on #8016df?

White. It scores 6.78:1 against #8016df, versus 3.10:1 for black — AA at any size.

What is the complementary color of #8016df?

#75DF16 sits directly opposite on the wheel. Softer options are the split-complements #D9DF16 and #16DF1B, which give the same contrast with far less vibration.

What colors go well with #8016df?

For interface work: #F8F4FA as the surface, #D7C0ED for borders, #754B9B for secondary text, #8DBE0E as an accent and #430B74 for hover and pressed states. For a palette, the analogous pair #1B16DF and #DF16D9 stays calm, while #75DF16 is the loudest partner.

What is #8016df in CMYK for printing?

cmyk(43%, 90%, 0%, 13%). 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 #8016df warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C916DF; nudged cooler, #3414E1.

Work with #8016df in the Color Lab