Skip to content

#b628df

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

RGB
182, 40, 223
HSL
287°, 74%, 52%
CMYK
18, 82, 0, 13
Luminance
0.1679

At a glance

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

Hex
#b628df
Hue
287°
violet
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1679
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.82:1
Closest name
Dark Orchid
ΔE2000 5.3
Where it sits
Hue287° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool57% 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#b628df
RGBrgb(182, 40, 223)
HSLhsl(287, 74%, 52%)
CMYKcmyk(18%, 82%, 0%, 13%)
LABlab(48.0 76.9 -63.3)
LCHlch(48.0 99.6 320.5)
OKLCHoklch(0.586 0.261 316.8)
Decimal11938015
Display P3color(display-p3 0.714 0.157 0.875)

Copy-ready code

/* CSS */
color: #b628df;
background-color: #b628df;
/* Tailwind (arbitrary) */
class="text-[#b628df] bg-[#b628df]"
/* SCSS */
$brand: #b628df;
/* SwiftUI */
Color(red: 0.714, green: 0.157, blue: 0.875)
/* Android */
Color.parseColor("#b628df")
/* Flutter */
Color(0xFFB628DF)
/* Python / OpenCV (BGR) */
(223, 40, 182)

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

Accessibility — WCAG contrast

Aa
#b628df on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#b628df on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AE4
deuteranopia · #2976DB
tritanopia · #B45687

Color scale — 50 to 950

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

#FAF3FC
#F5E7F9
#EAC8F3
#DE9DF0
#CD6CE9
#BD3CE2
#b628df
#901AB2
#73158E
#541367
#350C40
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #350C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F9;
  --brand-200: #EAC8F3;
  --brand-300: #DE9DF0;
  --brand-400: #CD6CE9;
  --brand-500: #BD3CE2;
  --brand-600: #b628df;
  --brand-700: #901AB2;
  --brand-800: #73158E;
  --brand-900: #541367;
  --brand-950: #350C40;
  --brand: #b628df;
  --brand-ink: #ffffff;
}

Colors that work with #b628df

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#E3C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#61B616
Second voice, not a rival
Dark variant#5A116F
Hover, pressed, headers
Light variant#F7E9FC
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 #b628df

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#51DF28
Analogous left#5B28DF
Analogous right#DF28AC
Split-complement 1#ACDF28
Split-complement 2#28DF5B
Triadic 1#DFB628
Triadic 2#28DFB6
Tetradic#DF5B28

RGB percentages

Red71.4%
Green15.7%
Blue87.5%

CMYK percentages

Cyan18.4%
Magenta82.1%
Yellow0.0%
Key (black)12.5%

Color previews

#b628df text on a black background

contrast 4.36:1

Card sample

#b628df text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(182, 40, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(182, 40, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b628df;
background: linear-gradient(135deg, #b628df, #DF288E);

Monochromatic scale

Palettes built from #b628df

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.

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

#b628df, answered

What color is #b628df?

#b628df is a balanced vivid violet, closest to Dark Orchid (ΔE2000 5.3). It sits at 287° on the hue wheel with 74% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #b628df?

rgb(182, 40, 223) — 182 red, 40 green and 223 blue out of 255, or 71.4% / 15.7% / 87.5% by channel.

Is #b628df a light or a dark color?

It is a dark color. Relative luminance is 0.1679 and perceived brightness is 50%, so white text on it reaches 4.82:1.

Should I use black or white text on #b628df?

White. It scores 4.82:1 against #b628df, versus 4.36:1 for black — AA at any size.

What is the complementary color of #b628df?

#51DF28 sits directly opposite on the wheel. Softer options are the split-complements #ACDF28 and #28DF5B, which give the same contrast with far less vibration.

What colors go well with #b628df?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #61B616 as an accent and #5A116F for hover and pressed states. For a palette, the analogous pair #5B28DF and #DF28AC stays calm, while #51DF28 is the loudest partner.

What is #b628df in CMYK for printing?

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

Is #b628df warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF28C5; nudged cooler, #7326E2.

Work with #b628df in the Color Lab