Skip to content

#8f09eb

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

RGB
143, 9, 235
HSL
276°, 93%, 48%
CMYK
39, 96, 0, 8
Luminance
0.1203

At a glance

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

Hex
#8f09eb
Hue
276°
violet
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1203
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.16:1
Closest name
Blue Violet
ΔE2000 2.3
Where it sits
Hue276° of 360°
Saturation93%
Lightness48%
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#8f09eb
RGBrgb(143, 9, 235)
HSLhsl(276, 93%, 48%)
CMYKcmyk(39%, 96%, 0%, 8%)
LABlab(41.3 79.5 -81.4)
LCHlch(41.3 113.7 314.3)
OKLCHoklch(0.531 0.276 302.6)
Decimal9374187
Display P3color(display-p3 0.561 0.035 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f09eb on white: 6.16:1
AA ✓ pass · AA-large · AAA
Aa
#8f09eb on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060F0
deuteranopia · #0060E7
tritanopia · #7A5B8A

Color scale — 50 to 950

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

#F8F2FD
#F2E4FB
#E3C2F9
#D193FB
#B95DF9
#A227F7
#8f09eb
#7808C4
#60069D
#470971
#2C0647
Base = 600Lightest = 50 · #F8F2FDDarkest = 950 · #2C0647
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F2E4FB;
  --brand-200: #E3C2F9;
  --brand-300: #D193FB;
  --brand-400: #B95DF9;
  --brand-500: #A227F7;
  --brand-600: #8f09eb;
  --brand-700: #7808C4;
  --brand-800: #60069D;
  --brand-900: #470971;
  --brand-950: #2C0647;
  --brand: #8f09eb;
  --brand-ink: #ffffff;
}

Colors that work with #8f09eb

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#85C903
Second voice, not a rival
Dark variant#4B057B
Hover, pressed, headers
Light variant#F4E6FE
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 #8f09eb

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#65EB09
Analogous left#1E09EB
Analogous right#EB09D6
Split-complement 1#D6EB09
Split-complement 2#09EB1E
Triadic 1#EB8F09
Triadic 2#09EB8F
Tetradic#EB1E09

RGB percentages

Red56.1%
Green3.5%
Blue92.2%

CMYK percentages

Cyan39.1%
Magenta96.2%
Yellow0.0%
Key (black)7.8%

Color previews

#8f09eb text on a black background

contrast 3.41:1

Card sample

#8f09eb text on a white background

contrast 6.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f09eb

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.

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

#8f09eb, answered

What color is #8f09eb?

#8f09eb is a balanced electric violet, closest to Blue Violet (ΔE2000 2.3). It sits at 276° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #8f09eb?

rgb(143, 9, 235) — 143 red, 9 green and 235 blue out of 255, or 56.1% / 3.5% / 92.2% by channel.

Is #8f09eb a light or a dark color?

It is a dark color. Relative luminance is 0.1203 and perceived brightness is 44%, so white text on it reaches 6.16:1.

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

White. It scores 6.16:1 against #8f09eb, versus 3.41:1 for black — AA at any size.

What is the complementary color of #8f09eb?

#65EB09 sits directly opposite on the wheel. Softer options are the split-complements #D6EB09 and #09EB1E, which give the same contrast with far less vibration.

What colors go well with #8f09eb?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #85C903 as an accent and #4B057B for hover and pressed states. For a palette, the analogous pair #1E09EB and #EB09D6 stays calm, while #65EB09 is the loudest partner.

What is #8f09eb in CMYK for printing?

cmyk(39%, 96%, 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 #8f09eb 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 #E209EB; nudged cooler, #3B07ED.

Work with #8f09eb in the Color Lab