Skip to content

#b127cf

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

RGB
177, 39, 207
HSL
289°, 68%, 48%
CMYK
15, 81, 0, 19
Luminance
0.1530

At a glance

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

Hex
#b127cf
Hue
289°
violet
Saturation
68%
vivid
Lightness
48%
balanced
Brightness
81%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1530
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.17:1
Closest name
Dark Orchid
ΔE2000 4.1
Where it sits
Hue289° of 360°
Saturation68%
Lightness48%
Temperature
Warm ← → Cool56% 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#b127cf
RGBrgb(177, 39, 207)
HSLhsl(289, 68%, 48%)
CMYKcmyk(15%, 81%, 0%, 19%)
LABlab(46.0 73.4 -57.3)
LCHlch(46.0 93.2 322.0)
OKLCHoklch(0.568 0.248 319.4)
Decimal11610063
Display P3color(display-p3 0.694 0.153 0.812)

Copy-ready code

/* CSS */
color: #b127cf;
background-color: #b127cf;
/* Tailwind (arbitrary) */
class="text-[#b127cf] bg-[#b127cf]"
/* SCSS */
$brand: #b127cf;
/* SwiftUI */
Color(red: 0.694, green: 0.153, blue: 0.812)
/* Android */
Color.parseColor("#b127cf")
/* Flutter */
Color(0xFFB127CF)
/* Python / OpenCV (BGR) */
(207, 39, 177)

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

Accessibility — WCAG contrast

Aa
#b127cf on white: 5.17:1
AA ✓ pass · AA-large · AAA
Aa
#b127cf on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064D3
deuteranopia · #3671CB
tritanopia · #B14E7D

Color scale — 50 to 950

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

#FAF3FB
#F5E8F8
#EBCAF2
#E0A1ED
#D071E4
#C042DB
#b127cf
#9320AC
#751A89
#561764
#360E3E
Base = 600Lightest = 50 · #FAF3FBDarkest = 950 · #360E3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F5E8F8;
  --brand-200: #EBCAF2;
  --brand-300: #E0A1ED;
  --brand-400: #D071E4;
  --brand-500: #C042DB;
  --brand-600: #b127cf;
  --brand-700: #9320AC;
  --brand-800: #751A89;
  --brand-900: #561764;
  --brand-950: #360E3E;
  --brand: #b127cf;
  --brand-ink: #ffffff;
}

Colors that work with #b127cf

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#5BB01C
Second voice, not a rival
Dark variant#5C146B
Hover, pressed, headers
Light variant#F8EAFB
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 #b127cf

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#45CF27
Analogous left#5D27CF
Analogous right#CF2799
Split-complement 1#99CF27
Split-complement 2#27CF5D
Triadic 1#CFB127
Triadic 2#27CFB1
Tetradic#CF5D27

RGB percentages

Red69.4%
Green15.3%
Blue81.2%

CMYK percentages

Cyan14.5%
Magenta81.2%
Yellow0.0%
Key (black)18.8%

Color previews

#b127cf text on a black background

contrast 4.06:1

Card sample

#b127cf text on a white background

contrast 5.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 39, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 39, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b127cf;
background: linear-gradient(135deg, #b127cf, #CF277D);

Monochromatic scale

Palettes built from #b127cf

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.

#b127cf 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

Converts to four-color process without much drama. Proof it anyway.

#b127cf, answered

What color is #b127cf?

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

What is the RGB value of #b127cf?

rgb(177, 39, 207) — 177 red, 39 green and 207 blue out of 255, or 69.4% / 15.3% / 81.2% by channel.

Is #b127cf a light or a dark color?

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

Should I use black or white text on #b127cf?

White. It scores 5.17:1 against #b127cf, versus 4.06:1 for black — AA at any size.

What is the complementary color of #b127cf?

#45CF27 sits directly opposite on the wheel. Softer options are the split-complements #99CF27 and #27CF5D, which give the same contrast with far less vibration.

What colors go well with #b127cf?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #5BB01C as an accent and #5C146B for hover and pressed states. For a palette, the analogous pair #5D27CF and #CF2799 stays calm, while #45CF27 is the loudest partner.

What is #b127cf in CMYK for printing?

cmyk(15%, 81%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #b127cf warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF27AF; nudged cooler, #7325D1.

Work with #b127cf in the Color Lab