Skip to content

#8f16cd

a dark, electric violet · cool · closest name: Dark Violet

RGB
143, 22, 205
HSL
280°, 81%, 45%
CMYK
30, 89, 0, 20
Luminance
0.1082

At a glance

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

Hex
#8f16cd
Hue
280°
violet
Saturation
81%
electric
Lightness
45%
dark
Brightness
80%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1082
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.64:1
Closest name
Dark Violet
ΔE2000 1.1
Where it sits
Hue280° of 360°
Saturation81%
Lightness45%
Temperature
Warm ← → Cool61% 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#8f16cd
RGBrgb(143, 22, 205)
HSLhsl(280, 81%, 45%)
CMYKcmyk(30%, 89%, 0%, 20%)
LABlab(39.3 71.6 -67.4)
LCHlch(39.3 98.4 316.7)
OKLCHoklch(0.510 0.247 309.1)
Decimal9377485
Display P3color(display-p3 0.561 0.086 0.804)

Copy-ready code

/* CSS */
color: #8f16cd;
background-color: #8f16cd;
/* Tailwind (arbitrary) */
class="text-[#8f16cd] bg-[#8f16cd]"
/* SCSS */
$brand: #8f16cd;
/* SwiftUI */
Color(red: 0.561, green: 0.086, blue: 0.804)
/* Android */
Color.parseColor("#8f16cd")
/* Flutter */
Color(0xFF8F16CD)
/* Python / OpenCV (BGR) */
(205, 22, 143)

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

Accessibility — WCAG contrast

Aa
#8f16cd on white: 6.64:1
AA ✓ pass · AA-large · AAA
Aa
#8f16cd on black: 3.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058D1
deuteranopia · #005ECA
tritanopia · #854E79

Color scale — 50 to 950

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

#F9F3FC
#F3E6F9
#E5C6F5
#D69AF4
#C167EF
#AC34E9
#8f16cd
#8114B8
#671093
#4C106B
#2F0A43
Base = 600Lightest = 50 · #F9F3FCDarkest = 950 · #2F0A43
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E6F9;
  --brand-200: #E5C6F5;
  --brand-300: #D69AF4;
  --brand-400: #C167EF;
  --brand-500: #AC34E9;
  --brand-600: #8f16cd;
  --brand-700: #8114B8;
  --brand-800: #671093;
  --brand-900: #4C106B;
  --brand-950: #2F0A43;
  --brand: #8f16cd;
  --brand-ink: #ffffff;
}

Colors that work with #8f16cd

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#DDC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#75BD0F
Second voice, not a rival
Dark variant#500C73
Hover, pressed, headers
Light variant#F6E8FD
Selected rows, tints
Dark surface#1F1424
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 #8f16cd

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#54CD16
Analogous left#3416CD
Analogous right#CD16AF
Split-complement 1#AFCD16
Split-complement 2#16CD34
Triadic 1#CD8F16
Triadic 2#16CD8F
Tetradic#CD3416

RGB percentages

Red56.1%
Green8.6%
Blue80.4%

CMYK percentages

Cyan30.2%
Magenta89.3%
Yellow0.0%
Key (black)19.6%

Color previews

#8f16cd text on a black background

contrast 3.16:1

Card sample

#8f16cd text on a white background

contrast 6.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f16cd;
Background color
Panel with #8f16cd background
background-color: #8f16cd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 22, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 22, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f16cd;
background: linear-gradient(135deg, #8f16cd, #CD1691);

Monochromatic scale

Palettes built from #8f16cd

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.

#8f16cd 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.

#8f16cd, answered

What color is #8f16cd?

#8f16cd is a dark electric violet, closest to Dark Violet (ΔE2000 1.1). It sits at 280° on the hue wheel with 81% saturation and 45% lightness, which reads as cool.

What is the RGB value of #8f16cd?

rgb(143, 22, 205) — 143 red, 22 green and 205 blue out of 255, or 56.1% / 8.6% / 80.4% by channel.

Is #8f16cd a light or a dark color?

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

Should I use black or white text on #8f16cd?

White. It scores 6.64:1 against #8f16cd, versus 3.16:1 for black — AA at any size.

What is the complementary color of #8f16cd?

#54CD16 sits directly opposite on the wheel. Softer options are the split-complements #AFCD16 and #16CD34, which give the same contrast with far less vibration.

What colors go well with #8f16cd?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #804B9B for secondary text, #75BD0F as an accent and #500C73 for hover and pressed states. For a palette, the analogous pair #3416CD and #CD16AF stays calm, while #54CD16 is the loudest partner.

What is #8f16cd in CMYK for printing?

cmyk(30%, 89%, 0%, 20%). 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 #8f16cd warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD16C8; nudged cooler, #4B14CF.

Work with #8f16cd in the Color Lab