Skip to content

#b30afd

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

RGB
179, 10, 253
HSL
282°, 98%, 52%
CMYK
29, 96, 0, 1
Luminance
0.1689

At a glance

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

Hex
#b30afd
Hue
282°
violet
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1689
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.80:1
Closest name
Dark Orchid
ΔE2000 6.9
Where it sits
Hue282° of 360°
Saturation98%
Lightness52%
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#b30afd
RGBrgb(179, 10, 253)
HSLhsl(282, 98%, 52%)
CMYKcmyk(29%, 96%, 0%, 1%)
LABlab(48.1 86.8 -80.0)
LCHlch(48.1 118.1 317.3)
OKLCHoklch(0.593 0.297 309.9)
Decimal11733757
Display P3color(display-p3 0.702 0.039 0.992)

Copy-ready code

/* CSS */
color: #b30afd;
background-color: #b30afd;
/* Tailwind (arbitrary) */
class="text-[#b30afd] bg-[#b30afd]"
/* SCSS */
$brand: #b30afd;
/* SwiftUI */
Color(red: 0.702, green: 0.039, blue: 0.992)
/* Android */
Color.parseColor("#b30afd")
/* Flutter */
Color(0xFFB30AFD)
/* Python / OpenCV (BGR) */
(253, 10, 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 #b30afd · 4.80:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.80:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.38:1
AA fail · AA large pass · AAA fail
Reading the other direction: #b30afd as text scores 4.80:1 on white and 4.38:1 on black.

Accessibility — WCAG contrast

Aa
#b30afd on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#b30afd on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006DFF
deuteranopia · #0074F9
tritanopia · #A85E95

Color scale — 50 to 950

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

#FAF1FE
#F4E3FC
#E9C1FB
#DC90FE
#CB58FE
#BA20FD
#b30afd
#8D02CA
#7101A2
#530675
#340449
Base = 600Lightest = 50 · #FAF1FEDarkest = 950 · #340449
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E9C1FB;
  --brand-300: #DC90FE;
  --brand-400: #CB58FE;
  --brand-500: #BA20FD;
  --brand-600: #b30afd;
  --brand-700: #8D02CA;
  --brand-800: #7101A2;
  --brand-900: #530675;
  --brand-950: #340449;
  --brand: #b30afd;
  --brand-ink: #ffffff;
}

Colors that work with #b30afd

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#824B9B
Captions on the surface
Accent#71CC00
Second voice, not a rival
Dark variant#58017E
Hover, pressed, headers
Light variant#F7E6FF
Selected rows, tints
Dark surface#1F1424
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 #b30afd

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#54FD0A
Analogous left#390AFD
Analogous right#FD0ACE
Split-complement 1#CEFD0A
Split-complement 2#0AFD39
Triadic 1#FDB30A
Triadic 2#0AFDB3
Tetradic#FD390A

RGB percentages

Red70.2%
Green3.9%
Blue99.2%

CMYK percentages

Cyan29.2%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#b30afd text on a black background

contrast 4.38:1

Card sample

#b30afd text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b30afd

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.

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

#b30afd, answered

What color is #b30afd?

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

What is the RGB value of #b30afd?

rgb(179, 10, 253) — 179 red, 10 green and 253 blue out of 255, or 70.2% / 3.9% / 99.2% by channel.

Is #b30afd a light or a dark color?

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

Should I use black or white text on #b30afd?

White. It scores 4.80:1 against #b30afd, versus 4.38:1 for black — AA at any size.

What is the complementary color of #b30afd?

#54FD0A sits directly opposite on the wheel. Softer options are the split-complements #CEFD0A and #0AFD39, which give the same contrast with far less vibration.

What colors go well with #b30afd?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #71CC00 as an accent and #58017E for hover and pressed states. For a palette, the analogous pair #390AFD and #FD0ACE stays calm, while #54FD0A is the loudest partner.

What is #b30afd in CMYK for printing?

cmyk(29%, 96%, 0%, 1%). 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 #b30afd 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 #FD0AEE; nudged cooler, #5908FF.

Work with #b30afd in the Color Lab