Skip to content

#8f0acf

a dark, electric violet · cool · “Dark Violet”

RGB
143, 10, 207
HSL
281°, 91%, 43%
CMYK
31, 95, 0, 19
Luminance
0.1056

At a glance

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

Hex
#8f0acf
Hue
281°
violet
Saturation
91%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1056
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.75:1
Closest name
Dark Violet
ΔE2000 0.9
Where it sits
Hue281° of 360°
Saturation91%
Lightness43%
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#8f0acf
RGBrgb(143, 10, 207)
HSLhsl(281, 91%, 43%)
CMYKcmyk(31%, 95%, 0%, 19%)
LABlab(38.8 73.8 -69.3)
LCHlch(38.8 101.3 316.8)
OKLCHoklch(0.507 0.254 308.9)
Decimal9374415
Display P3color(display-p3 0.561 0.039 0.812)

Copy-ready code

/* CSS */
color: #8f0acf;
background-color: #8f0acf;
/* Tailwind (arbitrary) */
class="text-[#8f0acf] bg-[#8f0acf]"
/* SCSS */
$brand: #8f0acf;
/* SwiftUI */
Color(red: 0.561, green: 0.039, blue: 0.812)
/* Android */
Color.parseColor("#8f0acf")
/* Flutter */
Color(0xFF8F0ACF)
/* Python / OpenCV (BGR) */
(207, 10, 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 #8f0acf · 6.75:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.75:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.11:1
AA fail · AA large pass · AAA fail
Reading the other direction: #8f0acf as text scores 6.75:1 on white and 3.11:1 on black.

Accessibility — WCAG contrast

Aa
#8f0acf on white: 6.75:1
AA ✓ pass · AA-large · AAA
Aa
#8f0acf on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057D4
deuteranopia · #005DCC
tritanopia · #854D7A

Color scale — 50 to 950

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

#F9F2FD
#F4E5FB
#E7C3F9
#D994FA
#C65EF7
#B229F5
#A10BEA
#8f0acf
#6C089C
#4F0A70
#310646
Base = 700Lightest = 50 · #F9F2FDDarkest = 950 · #310646
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F4E5FB;
  --brand-200: #E7C3F9;
  --brand-300: #D994FA;
  --brand-400: #C65EF7;
  --brand-500: #B229F5;
  --brand-600: #A10BEA;
  --brand-700: #8f0acf;
  --brand-800: #6C089C;
  --brand-900: #4F0A70;
  --brand-950: #310646;
  --brand: #8f0acf;
  --brand-ink: #ffffff;
}

Colors that work with #8f0acf

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#74C606
Second voice, not a rival
Dark variant#54067A
Hover, pressed, headers
Light variant#F6E7FE
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 #8f0acf

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#4ACF0A
Analogous left#2C0ACF
Analogous right#CF0AAC
Split-complement 1#ACCF0A
Split-complement 2#0ACF2C
Triadic 1#CF8F0A
Triadic 2#0ACF8F
Tetradic#CF2C0A

RGB percentages

Red56.1%
Green3.9%
Blue81.2%

CMYK percentages

Cyan30.9%
Magenta95.2%
Yellow0.0%
Key (black)18.8%

Color previews

#8f0acf text on a black background

contrast 3.11:1

Card sample

#8f0acf text on a white background

contrast 6.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f0acf

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.

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

#8f0acf, answered

What color is #8f0acf?

#8f0acf is a dark electric violet — the CSS keyword Dark Violet. It sits at 281° on the hue wheel with 91% saturation and 43% lightness, which reads as cool.

What is the RGB value of #8f0acf?

rgb(143, 10, 207) — 143 red, 10 green and 207 blue out of 255, or 56.1% / 3.9% / 81.2% by channel.

Is #8f0acf a light or a dark color?

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

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

White. It scores 6.75:1 against #8f0acf, versus 3.11:1 for black — AA at any size.

What is the complementary color of #8f0acf?

#4ACF0A sits directly opposite on the wheel. Softer options are the split-complements #ACCF0A and #0ACF2C, which give the same contrast with far less vibration.

What colors go well with #8f0acf?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #74C606 as an accent and #54067A for hover and pressed states. For a palette, the analogous pair #2C0ACF and #CF0AAC stays calm, while #4ACF0A is the loudest partner.

What is #8f0acf in CMYK for printing?

cmyk(31%, 95%, 0%, 19%). 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 #8f0acf 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 #CF0AC7; nudged cooler, #4608D1.

Work with #8f0acf in the Color Lab