Skip to content

#b717df

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

RGB
183, 23, 223
HSL
288°, 81%, 48%
CMYK
18, 90, 0, 13
Luminance
0.1601

At a glance

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

Hex
#b717df
Hue
288°
violet
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1601
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.00:1
Closest name
Dark Orchid
ΔE2000 5.1
Where it sits
Hue288° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool57% 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#b717df
RGBrgb(183, 23, 223)
HSLhsl(288, 81%, 48%)
CMYKcmyk(18%, 90%, 0%, 13%)
LABlab(47.0 80.5 -65.0)
LCHlch(47.0 103.4 321.1)
OKLCHoklch(0.580 0.272 317.5)
Decimal11999199
Display P3color(display-p3 0.718 0.090 0.875)

Copy-ready code

/* CSS */
color: #b717df;
background-color: #b717df;
/* Tailwind (arbitrary) */
class="text-[#b717df] bg-[#b717df]"
/* SCSS */
$brand: #b717df;
/* SwiftUI */
Color(red: 0.718, green: 0.090, blue: 0.875)
/* Android */
Color.parseColor("#b717df")
/* Flutter */
Color(0xFFB717DF)
/* Python / OpenCV (BGR) */
(223, 23, 183)

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

Accessibility — WCAG contrast

Aa
#b717df on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#b717df on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066E4
deuteranopia · #1E74DB
tritanopia · #B55084

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b717df 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
#F6E6F9
#ECC6F6
#E299F5
#D466EF
#C634EA
#b717df
#9813B9
#790F94
#590F6B
#370A43
Base = 600Lightest = 50 · #FAF2FCDarkest = 950 · #370A43
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F6E6F9;
  --brand-200: #ECC6F6;
  --brand-300: #E299F5;
  --brand-400: #D466EF;
  --brand-500: #C634EA;
  --brand-600: #b717df;
  --brand-700: #9813B9;
  --brand-800: #790F94;
  --brand-900: #590F6B;
  --brand-950: #370A43;
  --brand: #b717df;
  --brand-ink: #ffffff;
}

Colors that work with #b717df

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5DBD0F
Second voice, not a rival
Dark variant#5F0C74
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 #b717df

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#3FDF17
Analogous left#5317DF
Analogous right#DF17A3
Split-complement 1#A3DF17
Split-complement 2#17DF53
Triadic 1#DFB717
Triadic 2#17DFB7
Tetradic#DF5317

RGB percentages

Red71.8%
Green9.0%
Blue87.5%

CMYK percentages

Cyan17.9%
Magenta89.7%
Yellow0.0%
Key (black)12.5%

Color previews

#b717df text on a black background

contrast 4.20:1

Card sample

#b717df text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b717df

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.

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

#b717df, answered

What color is #b717df?

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

What is the RGB value of #b717df?

rgb(183, 23, 223) — 183 red, 23 green and 223 blue out of 255, or 71.8% / 9% / 87.5% by channel.

Is #b717df a light or a dark color?

It is a dark color. Relative luminance is 0.1601 and perceived brightness is 50%, so white text on it reaches 5.00:1.

Should I use black or white text on #b717df?

White. It scores 5.00:1 against #b717df, versus 4.20:1 for black — AA at any size.

What is the complementary color of #b717df?

#3FDF17 sits directly opposite on the wheel. Softer options are the split-complements #A3DF17 and #17DF53, which give the same contrast with far less vibration.

What colors go well with #b717df?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5DBD0F as an accent and #5F0C74 for hover and pressed states. For a palette, the analogous pair #5317DF and #DF17A3 stays calm, while #3FDF17 is the loudest partner.

What is #b717df in CMYK for printing?

cmyk(18%, 90%, 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 #b717df warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF17BE; nudged cooler, #6D15E1.

Work with #b717df in the Color Lab