Skip to content

#b28cd2

a light, soft violet · cool · closest name: Plum

RGB
178, 140, 210
HSL
273°, 44%, 69%
CMYK
15, 33, 0, 18
Luminance
0.3287

At a glance

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

Hex
#b28cd2
Hue
273°
violet
Saturation
44%
soft
Lightness
69%
light
Brightness
82%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3287
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.57:1
Closest name
Plum
ΔE2000 9.6
Where it sits
Hue273° of 360°
Saturation44%
Lightness69%
Temperature
Warm ← → Cool65% 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#b28cd2
RGBrgb(178, 140, 210)
HSLhsl(273, 44%, 69%)
CMYKcmyk(15%, 33%, 0%, 18%)
LABlab(64.1 27.6 -30.6)
LCHlch(64.1 41.2 312.1)
OKLCHoklch(0.701 0.108 308.7)
Decimal11701458
Display P3color(display-p3 0.698 0.549 0.824)

Copy-ready code

/* CSS */
color: #b28cd2;
background-color: #b28cd2;
/* Tailwind (arbitrary) */
class="text-[#b28cd2] bg-[#b28cd2]"
/* SCSS */
$brand: #b28cd2;
/* SwiftUI */
Color(red: 0.698, green: 0.549, blue: 0.824)
/* Android */
Color.parseColor("#b28cd2")
/* Flutter */
Color(0xFFB28CD2)
/* Python / OpenCV (BGR) */
(210, 140, 178)

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 #b28cd2 · 7.57:1
Use #000000AAA at every size.
Aa
White text · 2.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.57:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b28cd2 as text scores 2.77:1 on white and 7.57:1 on black.

Accessibility — WCAG contrast

Aa
#b28cd2 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#b28cd2 on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F9AD5
deuteranopia · #879CD0
tritanopia · #AE96A6

Color scale — 50 to 950

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

#F8F5FA
#F0EAF5
#DFD1EB
#C9AEDF
#b28cd2
#935EC0
#7F45B0
#6A3993
#552E75
#3F2556
#281736
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #281736
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F0EAF5;
  --brand-200: #DFD1EB;
  --brand-300: #C9AEDF;
  --brand-400: #b28cd2;
  --brand-500: #935EC0;
  --brand-600: #7F45B0;
  --brand-700: #6A3993;
  --brand-800: #552E75;
  --brand-900: #3F2556;
  --brand-950: #281736;
  --brand: #b28cd2;
  --brand-ink: #000000;
}

Colors that work with #b28cd2

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#D8C4E8
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#7A9636
Second voice, not a rival
Dark variant#42245C
Hover, pressed, headers
Light variant#F3EDF8
Selected rows, tints
Dark surface#1D1424
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 #b28cd2

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#ACD28C
Analogous left#8F8CD2
Analogous right#D28CCF
Split-complement 1#CFD28C
Split-complement 2#8CD28F
Triadic 1#D2B28C
Triadic 2#8CD2B2
Tetradic#D28F8C

RGB percentages

Red69.8%
Green54.9%
Blue82.4%

CMYK percentages

Cyan15.2%
Magenta33.3%
Yellow0.0%
Key (black)17.6%

Color previews

#b28cd2 text on a black background

contrast 7.57:1

Card sample

#b28cd2 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 140, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 140, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b28cd2;
background: linear-gradient(135deg, #b28cd2, #D28CC3);

Monochromatic scale

Palettes built from #b28cd2

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.

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

#b28cd2, answered

What color is #b28cd2?

#b28cd2 is a light soft violet, closest to Plum (ΔE2000 9.6). It sits at 273° on the hue wheel with 44% saturation and 69% lightness, which reads as cool.

What is the RGB value of #b28cd2?

rgb(178, 140, 210) — 178 red, 140 green and 210 blue out of 255, or 69.8% / 54.9% / 82.4% by channel.

Is #b28cd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3287 and perceived brightness is 63%, so black text on it reaches 7.57:1.

Should I use black or white text on #b28cd2?

Black. It scores 7.57:1 against #b28cd2, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #b28cd2?

#ACD28C sits directly opposite on the wheel. Softer options are the split-complements #CFD28C and #8CD28F, which give the same contrast with far less vibration.

What colors go well with #b28cd2?

For interface work: #F8F4FA as the surface, #D8C4E8 for borders, #764B9B for secondary text, #7A9636 as an accent and #42245C for hover and pressed states. For a palette, the analogous pair #8F8CD2 and #D28CCF stays calm, while #ACD28C is the loudest partner.

What is #b28cd2 in CMYK for printing?

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

Is #b28cd2 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CC8CD2; nudged cooler, #978AD4.

Work with #b28cd2 in the Color Lab