Skip to content

#8d33eb

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

RGB
141, 51, 235
HSL
269°, 82%, 56%
CMYK
40, 78, 0, 8
Luminance
0.1403

At a glance

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

Hex
#8d33eb
Hue
269°
violet
Saturation
82%
electric
Lightness
56%
balanced
Brightness
92%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1403
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.52:1
Closest name
Blue Violet
ΔE2000 2
Where it sits
Hue269° of 360°
Saturation82%
Lightness56%
Temperature
Warm ← → Cool67% 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#8d33eb
RGBrgb(141, 51, 235)
HSLhsl(269, 82%, 56%)
CMYKcmyk(40%, 78%, 0%, 8%)
LABlab(44.3 69.5 -76.4)
LCHlch(44.3 103.3 312.3)
OKLCHoklch(0.551 0.253 300.0)
Decimal9253867
Display P3color(display-p3 0.553 0.200 0.922)

Copy-ready code

/* CSS */
color: #8d33eb;
background-color: #8d33eb;
/* Tailwind (arbitrary) */
class="text-[#8d33eb] bg-[#8d33eb]"
/* SCSS */
$brand: #8d33eb;
/* SwiftUI */
Color(red: 0.553, green: 0.200, blue: 0.922)
/* Android */
Color.parseColor("#8d33eb")
/* Flutter */
Color(0xFF8D33EB)
/* Python / OpenCV (BGR) */
(235, 51, 141)

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

Accessibility — WCAG contrast

Aa
#8d33eb on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#8d33eb on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068F0
deuteranopia · #0067E8
tritanopia · #77668F

Color scale — 50 to 950

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

#F7F2FC
#EFE6FA
#DDC6F6
#C699F5
#A966F0
#8d33eb
#7816DF
#6412BA
#500F95
#3C0F6B
#260943
Base = 500Lightest = 50 · #F7F2FCDarkest = 950 · #260943
:root {
  --brand-50: #F7F2FC;
  --brand-100: #EFE6FA;
  --brand-200: #DDC6F6;
  --brand-300: #C699F5;
  --brand-400: #A966F0;
  --brand-500: #8d33eb;
  --brand-600: #7816DF;
  --brand-700: #6412BA;
  --brand-800: #500F95;
  --brand-900: #3C0F6B;
  --brand-950: #260943;
  --brand: #8d33eb;
  --brand-ink: #ffffff;
}

Colors that work with #8d33eb

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#93BD0F
Second voice, not a rival
Dark variant#3F0B74
Hover, pressed, headers
Light variant#F2E8FD
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 #8d33eb

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#91EB33
Analogous left#3335EB
Analogous right#E933EB
Split-complement 1#EBE933
Split-complement 2#35EB33
Triadic 1#EB8D33
Triadic 2#33EB8D
Tetradic#EB3335

RGB percentages

Red55.3%
Green20.0%
Blue92.2%

CMYK percentages

Cyan40.0%
Magenta78.3%
Yellow0.0%
Key (black)7.8%

Color previews

#8d33eb text on a black background

contrast 3.81:1

Card sample

#8d33eb text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8d33eb

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.

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

#8d33eb, answered

What color is #8d33eb?

#8d33eb is a balanced electric violet, closest to Blue Violet (ΔE2000 2). It sits at 269° on the hue wheel with 82% saturation and 56% lightness, which reads as cool.

What is the RGB value of #8d33eb?

rgb(141, 51, 235) — 141 red, 51 green and 235 blue out of 255, or 55.3% / 20% / 92.2% by channel.

Is #8d33eb a light or a dark color?

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

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

White. It scores 5.52:1 against #8d33eb, versus 3.81:1 for black — AA at any size.

What is the complementary color of #8d33eb?

#91EB33 sits directly opposite on the wheel. Softer options are the split-complements #EBE933 and #35EB33, which give the same contrast with far less vibration.

What colors go well with #8d33eb?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #93BD0F as an accent and #3F0B74 for hover and pressed states. For a palette, the analogous pair #3335EB and #E933EB stays calm, while #91EB33 is the loudest partner.

What is #8d33eb in CMYK for printing?

cmyk(40%, 78%, 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 #8d33eb warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D033EB; nudged cooler, #4831ED.

Work with #8d33eb in the Color Lab