Skip to content

#8518df

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

RGB
133, 24, 223
HSL
273°, 81%, 48%
CMYK
40, 89, 0, 13
Luminance
0.1097

At a glance

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

Hex
#8518df
Hue
273°
violet
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1097
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.58:1
Closest name
Blue Violet
ΔE2000 2.5
Where it sits
Hue273° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool65% 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#8518df
RGBrgb(133, 24, 223)
HSLhsl(273, 81%, 48%)
CMYKcmyk(40%, 89%, 0%, 13%)
LABlab(39.5 73.7 -77.4)
LCHlch(39.5 106.9 313.6)
OKLCHoklch(0.513 0.259 301.2)
Decimal8722655
Display P3color(display-p3 0.522 0.094 0.875)

Copy-ready code

/* CSS */
color: #8518df;
background-color: #8518df;
/* Tailwind (arbitrary) */
class="text-[#8518df] bg-[#8518df]"
/* SCSS */
$brand: #8518df;
/* SwiftUI */
Color(red: 0.522, green: 0.094, blue: 0.875)
/* Android */
Color.parseColor("#8518df")
/* Flutter */
Color(0xFF8518DF)
/* Python / OpenCV (BGR) */
(223, 24, 133)

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

Accessibility — WCAG contrast

Aa
#8518df on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#8518df on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CE4
deuteranopia · #005CDC
tritanopia · #705984

Color scale — 50 to 950

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

#F8F3FC
#F1E6F9
#E0C6F5
#CB9AF4
#B167EF
#9834E9
#8518df
#6E14B8
#581093
#42106B
#290A43
Base = 600Lightest = 50 · #F8F3FCDarkest = 950 · #290A43
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E6F9;
  --brand-200: #E0C6F5;
  --brand-300: #CB9AF4;
  --brand-400: #B167EF;
  --brand-500: #9834E9;
  --brand-600: #8518df;
  --brand-700: #6E14B8;
  --brand-800: #581093;
  --brand-900: #42106B;
  --brand-950: #290A43;
  --brand: #8518df;
  --brand-ink: #ffffff;
}

Colors that work with #8518df

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#D8C0ED
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#89BC10
Second voice, not a rival
Dark variant#450C73
Hover, pressed, headers
Light variant#F3E8FD
Selected rows, tints
Dark surface#1D1424
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 #8518df

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#72DF18
Analogous left#2218DF
Analogous right#DF18D5
Split-complement 1#D5DF18
Split-complement 2#18DF22
Triadic 1#DF8518
Triadic 2#18DF85
Tetradic#DF2218

RGB percentages

Red52.2%
Green9.4%
Blue87.5%

CMYK percentages

Cyan40.4%
Magenta89.2%
Yellow0.0%
Key (black)12.5%

Color previews

#8518df text on a black background

contrast 3.19:1

Card sample

#8518df text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8518df

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.

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

#8518df, answered

What color is #8518df?

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

What is the RGB value of #8518df?

rgb(133, 24, 223) — 133 red, 24 green and 223 blue out of 255, or 52.2% / 9.4% / 87.5% by channel.

Is #8518df a light or a dark color?

It is a dark color. Relative luminance is 0.1097 and perceived brightness is 42%, so white text on it reaches 6.58:1.

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

White. It scores 6.58:1 against #8518df, versus 3.19:1 for black — AA at any size.

What is the complementary color of #8518df?

#72DF18 sits directly opposite on the wheel. Softer options are the split-complements #D5DF18 and #18DF22, which give the same contrast with far less vibration.

What colors go well with #8518df?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #774B9B for secondary text, #89BC10 as an accent and #450C73 for hover and pressed states. For a palette, the analogous pair #2218DF and #DF18D5 stays calm, while #72DF18 is the loudest partner.

What is #8518df in CMYK for printing?

cmyk(40%, 89%, 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 #8518df warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE18DF; nudged cooler, #3B15E1.

Work with #8518df in the Color Lab