Skip to content

#b17cd3

a light, vivid violet · cool · closest name: Medium Purple

RGB
177, 124, 211
HSL
277°, 50%, 66%
CMYK
16, 41, 0, 17
Luminance
0.2847

At a glance

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

Hex
#b17cd3
Hue
277°
violet
Saturation
50%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2847
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.69:1
Closest name
Medium Purple
ΔE2000 7.9
Where it sits
Hue277° of 360°
Saturation50%
Lightness66%
Temperature
Warm ← → Cool63% 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#b17cd3
RGBrgb(177, 124, 211)
HSLhsl(277, 50%, 66%)
CMYKcmyk(16%, 41%, 0%, 17%)
LABlab(60.3 36.5 -37.0)
LCHlch(60.3 51.9 314.6)
OKLCHoklch(0.673 0.136 311.2)
Decimal11631827
Display P3color(display-p3 0.694 0.486 0.827)

Copy-ready code

/* CSS */
color: #b17cd3;
background-color: #b17cd3;
/* Tailwind (arbitrary) */
class="text-[#b17cd3] bg-[#b17cd3]"
/* SCSS */
$brand: #b17cd3;
/* SwiftUI */
Color(red: 0.694, green: 0.486, blue: 0.827)
/* Android */
Color.parseColor("#b17cd3")
/* Flutter */
Color(0xFFB17CD3)
/* Python / OpenCV (BGR) */
(211, 124, 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#000000 on #b17cd3 · 6.69:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.14:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.69:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #b17cd3 as text scores 3.14:1 on white and 6.69:1 on black.

Accessibility — WCAG contrast

Aa
#b17cd3 on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#b17cd3 on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B8FD6
deuteranopia · #7892D1
tritanopia · #AD899D

Color scale — 50 to 950

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

#F8F4FA
#F1EAF6
#E1CFEC
#CDABE3
#b17cd3
#9B57C7
#883EB7
#713399
#5B297A
#432159
#2A1538
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #2A1538
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1EAF6;
  --brand-200: #E1CFEC;
  --brand-300: #CDABE3;
  --brand-400: #b17cd3;
  --brand-500: #9B57C7;
  --brand-600: #883EB7;
  --brand-700: #713399;
  --brand-800: #5B297A;
  --brand-900: #432159;
  --brand-950: #2A1538;
  --brand: #b17cd3;
  --brand-ink: #000000;
}

Colors that work with #b17cd3

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#DBC2EA
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#759D2F
Second voice, not a rival
Dark variant#47205F
Hover, pressed, headers
Light variant#F4ECF9
Selected rows, tints
Dark surface#1E1424
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 #b17cd3

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White 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#9ED37C
Analogous left#867CD3
Analogous right#D37CC9
Split-complement 1#C9D37C
Split-complement 2#7CD386
Triadic 1#D3B17C
Triadic 2#7CD3B1
Tetradic#D3867C

RGB percentages

Red69.4%
Green48.6%
Blue82.7%

CMYK percentages

Cyan16.1%
Magenta41.2%
Yellow0.0%
Key (black)17.3%

Color previews

#b17cd3 text on a black background

contrast 6.69:1

Card sample

#b17cd3 text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b17cd3

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.

#b17cd3 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#b17cd3, answered

What color is #b17cd3?

#b17cd3 is a light vivid violet, closest to Medium Purple (ΔE2000 7.9). It sits at 277° on the hue wheel with 50% saturation and 66% lightness, which reads as cool.

What is the RGB value of #b17cd3?

rgb(177, 124, 211) — 177 red, 124 green and 211 blue out of 255, or 69.4% / 48.6% / 82.7% by channel.

Is #b17cd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2847 and perceived brightness is 60%, so black text on it reaches 6.69:1.

Should I use black or white text on #b17cd3?

Black. It scores 6.69:1 against #b17cd3, versus 3.14:1 for white — AA at any size.

What is the complementary color of #b17cd3?

#9ED37C sits directly opposite on the wheel. Softer options are the split-complements #C9D37C and #7CD386, which give the same contrast with far less vibration.

What colors go well with #b17cd3?

For interface work: #F8F4FA as the surface, #DBC2EA for borders, #7C4B9B for secondary text, #759D2F as an accent and #47205F for hover and pressed states. For a palette, the analogous pair #867CD3 and #D37CC9 stays calm, while #9ED37C is the loudest partner.

What is #b17cd3 in CMYK for printing?

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

Is #b17cd3 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D17CD3; nudged cooler, #907AD5.

Work with #b17cd3 in the Color Lab