Skip to content

#b015df

a balanced, electric violet · neutral · closest name: Dark Orchid

RGB
176, 21, 223
HSL
286°, 83%, 48%
CMYK
21, 91, 0, 13
Luminance
0.1509

At a glance

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

Hex
#b015df
Hue
286°
violet
Saturation
83%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1509
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.23:1
Closest name
Dark Orchid
ΔE2000 4.1
Where it sits
Hue286° of 360°
Saturation83%
Lightness48%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b015df
RGBrgb(176, 21, 223)
HSLhsl(286, 83%, 48%)
CMYKcmyk(21%, 91%, 0%, 13%)
LABlab(45.8 79.8 -67.0)
LCHlch(45.8 104.2 320.0)
OKLCHoklch(0.569 0.270 315.5)
Decimal11539935
Display P3color(display-p3 0.690 0.082 0.875)

Copy-ready code

/* CSS */
color: #b015df;
background-color: #b015df;
/* Tailwind (arbitrary) */
class="text-[#b015df] bg-[#b015df]"
/* SCSS */
$brand: #b015df;
/* SwiftUI */
Color(red: 0.690, green: 0.082, blue: 0.875)
/* Android */
Color.parseColor("#b015df")
/* Flutter */
Color(0xFFB015DF)
/* Python / OpenCV (BGR) */
(223, 21, 176)

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

Accessibility — WCAG contrast

Aa
#b015df on white: 5.23:1
AA ✓ pass · AA-large · AAA
Aa
#b015df on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065E4
deuteranopia · #0070DB
tritanopia · #AC5184

Color scale — 50 to 950

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

#FAF2FC
#F5E6FA
#EBC6F6
#E098F5
#D065F1
#C032EC
#b015df
#9312BA
#760E95
#560F6C
#360943
Base = 600Lightest = 50 · #FAF2FCDarkest = 950 · #360943
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F5E6FA;
  --brand-200: #EBC6F6;
  --brand-300: #E098F5;
  --brand-400: #D065F1;
  --brand-500: #C032EC;
  --brand-600: #b015df;
  --brand-700: #9312BA;
  --brand-800: #760E95;
  --brand-900: #560F6C;
  --brand-950: #360943;
  --brand: #b015df;
  --brand-ink: #ffffff;
}

Colors that work with #b015df

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#F9F4FA
Tinted page background
Border#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#63BF0D
Second voice, not a rival
Dark variant#5C0B75
Hover, pressed, headers
Light variant#F8E8FD
Selected rows, tints
Dark surface#211424
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 #b015df

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#44DF15
Analogous left#4B15DF
Analogous right#DF15A9
Split-complement 1#A9DF15
Split-complement 2#15DF4B
Triadic 1#DFB015
Triadic 2#15DFB0
Tetradic#DF4B15

RGB percentages

Red69.0%
Green8.2%
Blue87.5%

CMYK percentages

Cyan21.1%
Magenta90.6%
Yellow0.0%
Key (black)12.5%

Color previews

#b015df text on a black background

contrast 4.02:1

Card sample

#b015df text on a white background

contrast 5.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 21, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 21, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b015df;
background: linear-gradient(135deg, #b015df, #DF1587);

Monochromatic scale

Palettes built from #b015df

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.

#b015df 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.

#b015df, answered

What color is #b015df?

#b015df is a balanced electric violet, closest to Dark Orchid (ΔE2000 4.1). It sits at 286° on the hue wheel with 83% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #b015df?

rgb(176, 21, 223) — 176 red, 21 green and 223 blue out of 255, or 69% / 8.2% / 87.5% by channel.

Is #b015df a light or a dark color?

It is a dark color. Relative luminance is 0.1509 and perceived brightness is 48%, so white text on it reaches 5.23:1.

Should I use black or white text on #b015df?

White. It scores 5.23:1 against #b015df, versus 4.02:1 for black — AA at any size.

What is the complementary color of #b015df?

#44DF15 sits directly opposite on the wheel. Softer options are the split-complements #A9DF15 and #15DF4B, which give the same contrast with far less vibration.

What colors go well with #b015df?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #63BF0D as an accent and #5C0B75 for hover and pressed states. For a palette, the analogous pair #4B15DF and #DF15A9 stays calm, while #44DF15 is the loudest partner.

What is #b015df in CMYK for printing?

cmyk(21%, 91%, 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 #b015df warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF15C4; nudged cooler, #6513E1.

Work with #b015df in the Color Lab