Skip to content

#b862cd

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

RGB
184, 98, 205
HSL
288°, 52%, 59%
CMYK
10, 52, 0, 20
Luminance
0.2333

At a glance

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

Hex
#b862cd
Hue
288°
violet
Saturation
52%
vivid
Lightness
59%
balanced
Brightness
80%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2333
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.67:1
Closest name
Medium Orchid
ΔE2000 3
Where it sits
Hue288° of 360°
Saturation52%
Lightness59%
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#b862cd
RGBrgb(184, 98, 205)
HSLhsl(288, 52%, 59%)
CMYKcmyk(10%, 52%, 0%, 20%)
LABlab(55.4 51.1 -41.2)
LCHlch(55.4 65.6 321.1)
OKLCHoklch(0.637 0.176 319.5)
Decimal12083917
Display P3color(display-p3 0.722 0.384 0.804)

Copy-ready code

/* CSS */
color: #b862cd;
background-color: #b862cd;
/* Tailwind (arbitrary) */
class="text-[#b862cd] bg-[#b862cd]"
/* SCSS */
$brand: #b862cd;
/* SwiftUI */
Color(red: 0.722, green: 0.384, blue: 0.804)
/* Android */
Color.parseColor("#b862cd")
/* Flutter */
Color(0xFFB862CD)
/* Python / OpenCV (BGR) */
(205, 98, 184)

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

Accessibility — WCAG contrast

Aa
#b862cd on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#b862cd on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4E7FD1
deuteranopia · #6988CA
tritanopia · #B9718E

Color scale — 50 to 950

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

#F9F4FA
#F3EAF6
#E7CFED
#D8AAE4
#C57FD6
#b862cd
#A13BBA
#86319B
#6B277C
#4F205A
#311438
Base = 500Lightest = 50 · #F9F4FADarkest = 950 · #311438
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F3EAF6;
  --brand-200: #E7CFED;
  --brand-300: #D8AAE4;
  --brand-400: #C57FD6;
  --brand-500: #b862cd;
  --brand-600: #A13BBA;
  --brand-700: #86319B;
  --brand-800: #6B277C;
  --brand-900: #4F205A;
  --brand-950: #311438;
  --brand: #b862cd;
  --brand-ink: #000000;
}

Colors that work with #b862cd

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#E3C1EB
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#609F2D
Second voice, not a rival
Dark variant#541F61
Hover, pressed, headers
Light variant#F6ECF9
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 #b862cd

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#77CD62
Analogous left#8262CD
Analogous right#CD62AD
Split-complement 1#ADCD62
Split-complement 2#62CD82
Triadic 1#CDB862
Triadic 2#62CDB8
Tetradic#CD8262

RGB percentages

Red72.2%
Green38.4%
Blue80.4%

CMYK percentages

Cyan10.2%
Magenta52.2%
Yellow0.0%
Key (black)19.6%

Color previews

#b862cd text on a black background

contrast 5.67:1

Card sample

#b862cd text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(184, 98, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(184, 98, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b862cd;
background: linear-gradient(135deg, #b862cd, #CD629B);

Monochromatic scale

Palettes built from #b862cd

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.

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

#b862cd, answered

What color is #b862cd?

#b862cd is a balanced vivid violet, closest to Medium Orchid (ΔE2000 3). It sits at 288° on the hue wheel with 52% saturation and 59% lightness, which reads as neutral.

What is the RGB value of #b862cd?

rgb(184, 98, 205) — 184 red, 98 green and 205 blue out of 255, or 72.2% / 38.4% / 80.4% by channel.

Is #b862cd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2333 and perceived brightness is 56%, so black text on it reaches 5.67:1.

Should I use black or white text on #b862cd?

Black. It scores 5.67:1 against #b862cd, versus 3.71:1 for white — AA at any size.

What is the complementary color of #b862cd?

#77CD62 sits directly opposite on the wheel. Softer options are the split-complements #ADCD62 and #62CD82, which give the same contrast with far less vibration.

What colors go well with #b862cd?

For interface work: #F9F4FA as the surface, #E3C1EB for borders, #8B4B9B for secondary text, #609F2D as an accent and #541F61 for hover and pressed states. For a palette, the analogous pair #8262CD and #CD62AD stays calm, while #77CD62 is the loudest partner.

What is #b862cd in CMYK for printing?

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

Is #b862cd 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 #CD62BB; nudged cooler, #9060CF.

Work with #b862cd in the Color Lab