Skip to content

#b309c7

a dark, electric magenta / pink · neutral · closest name: Dark Orchid

RGB
179, 9, 199
HSL
294°, 91%, 41%
CMYK
10, 96, 0, 22
Luminance
0.1390

At a glance

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

Hex
#b309c7
Hue
294°
magenta / pink
Saturation
91%
electric
Lightness
41%
dark
Brightness
78%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1390
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.55:1
Closest name
Dark Orchid
ΔE2000 4.8
Where it sits
Hue294° of 360°
Saturation91%
Lightness41%
Temperature
Warm ← → Cool53% 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#b309c7
RGBrgb(179, 9, 199)
HSLhsl(294, 91%, 41%)
CMYKcmyk(10%, 96%, 0%, 22%)
LABlab(44.1 77.6 -55.8)
LCHlch(44.1 95.6 324.2)
OKLCHoklch(0.553 0.258 322.6)
Decimal11733447
Display P3color(display-p3 0.702 0.035 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b309c7 on white: 5.55:1
AA ✓ pass · AA-large · AAA
Aa
#b309c7 on black: 3.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DCB
deuteranopia · #376EC3
tritanopia · #B54075

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b309c7 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2FD
#F9E4FB
#F3C3F9
#EF94FA
#E85EF8
#E028F5
#D30BEA
#b309c7
#8C079C
#660A71
#400646
Base = 700Lightest = 50 · #FCF2FDDarkest = 950 · #400646
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F9E4FB;
  --brand-200: #F3C3F9;
  --brand-300: #EF94FA;
  --brand-400: #E85EF8;
  --brand-500: #E028F5;
  --brand-600: #D30BEA;
  --brand-700: #b309c7;
  --brand-800: #8C079C;
  --brand-900: #660A71;
  --brand-950: #400646;
  --brand: #b309c7;
  --brand-ink: #ffffff;
}

Colors that work with #b309c7

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#FAF4FA
Tinted page background
Border#E8C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#4AC705
Second voice, not a rival
Dark variant#6E067A
Hover, pressed, headers
Light variant#FBE7FE
Selected rows, tints
Dark surface#231424
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 #b309c7

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#1DC709
Analogous left#5409C7
Analogous right#C7097C
Split-complement 1#7CC709
Split-complement 2#09C754
Triadic 1#C7B309
Triadic 2#09C7B3
Tetradic#C75409

RGB percentages

Red70.2%
Green3.5%
Blue78.0%

CMYK percentages

Cyan10.1%
Magenta95.5%
Yellow0.0%
Key (black)22.0%

Color previews

#b309c7 text on a black background

contrast 3.78:1

Card sample

#b309c7 text on a white background

contrast 5.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b309c7

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.

#b309c7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#b309c7, answered

What color is #b309c7?

#b309c7 is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 4.8). It sits at 294° on the hue wheel with 91% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #b309c7?

rgb(179, 9, 199) — 179 red, 9 green and 199 blue out of 255, or 70.2% / 3.5% / 78% by channel.

Is #b309c7 a light or a dark color?

It is a dark color. Relative luminance is 0.1390 and perceived brightness is 47%, so white text on it reaches 5.55:1.

Should I use black or white text on #b309c7?

White. It scores 5.55:1 against #b309c7, versus 3.78:1 for black — AA at any size.

What is the complementary color of #b309c7?

#1DC709 sits directly opposite on the wheel. Softer options are the split-complements #7CC709 and #09C754, which give the same contrast with far less vibration.

What colors go well with #b309c7?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #4AC705 as an accent and #6E067A for hover and pressed states. For a palette, the analogous pair #5409C7 and #C7097C stays calm, while #1DC709 is the loudest partner.

What is #b309c7 in CMYK for printing?

cmyk(10%, 96%, 0%, 22%). 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 #b309c7 warm or cool?

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

Work with #b309c7 in the Color Lab