Skip to content

#b641df

a balanced, vivid violet · cool · closest name: Medium Orchid

RGB
182, 65, 223
HSL
284°, 71%, 57%
CMYK
18, 71, 0, 13
Luminance
0.1905

At a glance

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

Hex
#b641df
Hue
284°
violet
Saturation
71%
vivid
Lightness
57%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1905
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.81:1
Closest name
Medium Orchid
ΔE2000 4.4
Where it sits
Hue284° of 360°
Saturation71%
Lightness57%
Temperature
Warm ← → Cool59% 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#b641df
RGBrgb(182, 65, 223)
HSLhsl(284, 71%, 57%)
CMYKcmyk(18%, 71%, 0%, 13%)
LABlab(50.8 68.9 -58.9)
LCHlch(50.8 90.7 319.5)
OKLCHoklch(0.606 0.238 315.8)
Decimal11944415
Display P3color(display-p3 0.714 0.255 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b641df on white: 4.37:1
AA ✗ fail · AA-large · AAA
Aa
#b641df on black: 4.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072E3
deuteranopia · #3F7CDB
tritanopia · #B3628C

Color scale — 50 to 950

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

#F9F3FC
#F4E7F8
#E8C9F3
#DA9FEF
#C86FE7
#b641df
#A423D2
#891DAF
#6D188C
#501565
#320D3F
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #320D3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F8;
  --brand-200: #E8C9F3;
  --brand-300: #DA9FEF;
  --brand-400: #C86FE7;
  --brand-500: #b641df;
  --brand-600: #A423D2;
  --brand-700: #891DAF;
  --brand-800: #6D188C;
  --brand-900: #501565;
  --brand-950: #320D3F;
  --brand: #b641df;
  --brand-ink: #000000;
}

Colors that work with #b641df

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#F9F4FA
Tinted page background
Border#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#68B21A
Second voice, not a rival
Dark variant#56126D
Hover, pressed, headers
Light variant#F7E9FB
Selected rows, tints
Dark surface#201424
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 #b641df

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#6ADF41
Analogous left#6741DF
Analogous right#DF41B9
Split-complement 1#B9DF41
Split-complement 2#41DF67
Triadic 1#DFB641
Triadic 2#41DFB6
Tetradic#DF6741

RGB percentages

Red71.4%
Green25.5%
Blue87.5%

CMYK percentages

Cyan18.4%
Magenta70.9%
Yellow0.0%
Key (black)12.5%

Color previews

#b641df text on a black background

contrast 4.81:1

Card sample

#b641df text on a white background

contrast 4.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b641df

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.

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

#b641df, answered

What color is #b641df?

#b641df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.4). It sits at 284° on the hue wheel with 71% saturation and 57% lightness, which reads as cool.

What is the RGB value of #b641df?

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

Is #b641df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1905 and perceived brightness is 53%, so black text on it reaches 4.81:1.

Should I use black or white text on #b641df?

Black. It scores 4.81:1 against #b641df, versus 4.37:1 for white — AA at any size.

What is the complementary color of #b641df?

#6ADF41 sits directly opposite on the wheel. Softer options are the split-complements #B9DF41 and #41DF67, which give the same contrast with far less vibration.

What colors go well with #b641df?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #68B21A as an accent and #56126D for hover and pressed states. For a palette, the analogous pair #6741DF and #DF41B9 stays calm, while #6ADF41 is the loudest partner.

What is #b641df in CMYK for printing?

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

Is #b641df warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF41CE; nudged cooler, #7C3FE1.

Work with #b641df in the Color Lab