Skip to content

#b30df8

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

RGB
179, 13, 248
HSL
282°, 94%, 51%
CMYK
28, 95, 0, 3
Luminance
0.1665

At a glance

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

Hex
#b30df8
Hue
282°
violet
Saturation
94%
electric
Lightness
51%
balanced
Brightness
97%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1665
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.85:1
Closest name
Dark Orchid
ΔE2000 6.4
Where it sits
Hue282° of 360°
Saturation94%
Lightness51%
Temperature
Warm ← → Cool60% 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#b30df8
RGBrgb(179, 13, 248)
HSLhsl(282, 94%, 51%)
CMYKcmyk(28%, 95%, 0%, 3%)
LABlab(47.8 85.6 -77.8)
LCHlch(47.8 115.7 317.7)
OKLCHoklch(0.590 0.292 310.9)
Decimal11734520
Display P3color(display-p3 0.702 0.051 0.973)

Copy-ready code

/* CSS */
color: #b30df8;
background-color: #b30df8;
/* Tailwind (arbitrary) */
class="text-[#b30df8] bg-[#b30df8]"
/* SCSS */
$brand: #b30df8;
/* SwiftUI */
Color(red: 0.702, green: 0.051, blue: 0.973)
/* Android */
Color.parseColor("#b30df8")
/* Flutter */
Color(0xFFB30DF8)
/* Python / OpenCV (BGR) */
(248, 13, 179)

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

Accessibility — WCAG contrast

Aa
#b30df8 on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#b30df8 on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BFD
deuteranopia · #0074F4
tritanopia · #A95C93

Color scale — 50 to 950

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

#FAF2FD
#F5E4FB
#E9C2FA
#DD92FC
#CC5BFA
#BB25F9
#b30df8
#8E06C6
#71059F
#530872
#340547
Base = 600Lightest = 50 · #FAF2FDDarkest = 950 · #340547
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E4FB;
  --brand-200: #E9C2FA;
  --brand-300: #DD92FC;
  --brand-400: #CC5BFA;
  --brand-500: #BB25F9;
  --brand-600: #b30df8;
  --brand-700: #8E06C6;
  --brand-800: #71059F;
  --brand-900: #530872;
  --brand-950: #340547;
  --brand: #b30df8;
  --brand-ink: #ffffff;
}

Colors that work with #b30df8

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6FCA02
Second voice, not a rival
Dark variant#59047C
Hover, pressed, headers
Light variant#F7E6FE
Selected rows, tints
Dark surface#201424
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 #b30df8

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#52F80D
Analogous left#3E0DF8
Analogous right#F80DC7
Split-complement 1#C7F80D
Split-complement 2#0DF83E
Triadic 1#F8B30D
Triadic 2#0DF8B3
Tetradic#F83E0D

RGB percentages

Red70.2%
Green5.1%
Blue97.3%

CMYK percentages

Cyan27.8%
Magenta94.8%
Yellow0.0%
Key (black)2.7%

Color previews

#b30df8 text on a black background

contrast 4.33:1

Card sample

#b30df8 text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 13, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 13, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b30df8;
background: linear-gradient(135deg, #b30df8, #F80DA0);

Monochromatic scale

Palettes built from #b30df8

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.

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

#b30df8, answered

What color is #b30df8?

#b30df8 is a balanced electric violet, closest to Dark Orchid (ΔE2000 6.4). It sits at 282° on the hue wheel with 94% saturation and 51% lightness, which reads as cool.

What is the RGB value of #b30df8?

rgb(179, 13, 248) — 179 red, 13 green and 248 blue out of 255, or 70.2% / 5.1% / 97.3% by channel.

Is #b30df8 a light or a dark color?

It is a dark color. Relative luminance is 0.1665 and perceived brightness is 51%, so white text on it reaches 4.85:1.

Should I use black or white text on #b30df8?

White. It scores 4.85:1 against #b30df8, versus 4.33:1 for black — AA at any size.

What is the complementary color of #b30df8?

#52F80D sits directly opposite on the wheel. Softer options are the split-complements #C7F80D and #0DF83E, which give the same contrast with far less vibration.

What colors go well with #b30df8?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6FCA02 as an accent and #59047C for hover and pressed states. For a palette, the analogous pair #3E0DF8 and #F80DC7 stays calm, while #52F80D is the loudest partner.

What is #b30df8 in CMYK for printing?

cmyk(28%, 95%, 0%, 3%). 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 #b30df8 warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F80DE7; nudged cooler, #5C0BFB.

Work with #b30df8 in the Color Lab