Skip to content

#b786df

a light, vivid violet · cool · closest name: Orchid

RGB
183, 134, 223
HSL
273°, 58%, 70%
CMYK
18, 40, 0, 13
Luminance
0.3245

At a glance

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

Hex
#b786df
Hue
273°
violet
Saturation
58%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3245
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.49:1
Closest name
Orchid
ΔE2000 8.9
Where it sits
Hue273° of 360°
Saturation58%
Lightness70%
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#b786df
RGBrgb(183, 134, 223)
HSLhsl(273, 58%, 70%)
CMYKcmyk(18%, 40%, 0%, 13%)
LABlab(63.7 35.4 -38.3)
LCHlch(63.7 52.1 312.7)
OKLCHoklch(0.701 0.136 308.6)
Decimal12027615
Display P3color(display-p3 0.718 0.525 0.875)

Copy-ready code

/* CSS */
color: #b786df;
background-color: #b786df;
/* Tailwind (arbitrary) */
class="text-[#b786df] bg-[#b786df]"
/* SCSS */
$brand: #b786df;
/* SwiftUI */
Color(red: 0.718, green: 0.525, blue: 0.875)
/* Android */
Color.parseColor("#b786df")
/* Flutter */
Color(0xFFB786DF)
/* Python / OpenCV (BGR) */
(223, 134, 183)

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

Accessibility — WCAG contrast

Aa
#b786df on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#b786df on black: 7.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7398E2
deuteranopia · #7F9BDD
tritanopia · #B293A8

Color scale — 50 to 950

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

#F8F4FB
#F0E9F7
#E0CDEF
#CAA6E8
#b786df
#954DD0
#8233C2
#6C2BA1
#562281
#401C5E
#28123B
Base = 400Lightest = 50 · #F8F4FBDarkest = 950 · #28123B
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F0E9F7;
  --brand-200: #E0CDEF;
  --brand-300: #CAA6E8;
  --brand-400: #b786df;
  --brand-500: #954DD0;
  --brand-600: #8233C2;
  --brand-700: #6C2BA1;
  --brand-800: #562281;
  --brand-900: #401C5E;
  --brand-950: #28123B;
  --brand: #b786df;
  --brand-ink: #000000;
}

Colors that work with #b786df

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#D8C0ED
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#80A527
Second voice, not a rival
Dark variant#431B65
Hover, pressed, headers
Light variant#F3EBFA
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 #b786df

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#AEDF86
Analogous left#8A86DF
Analogous right#DF86DB
Split-complement 1#DBDF86
Split-complement 2#86DF8A
Triadic 1#DFB786
Triadic 2#86DFB7
Tetradic#DF8A86

RGB percentages

Red71.8%
Green52.5%
Blue87.5%

CMYK percentages

Cyan17.9%
Magenta39.9%
Yellow0.0%
Key (black)12.5%

Color previews

#b786df text on a black background

contrast 7.49:1

Card sample

#b786df text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b786df

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.

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

#b786df, answered

What color is #b786df?

#b786df is a light vivid violet, closest to Orchid (ΔE2000 8.9). It sits at 273° on the hue wheel with 58% saturation and 70% lightness, which reads as cool.

What is the RGB value of #b786df?

rgb(183, 134, 223) — 183 red, 134 green and 223 blue out of 255, or 71.8% / 52.5% / 87.5% by channel.

Is #b786df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3245 and perceived brightness is 64%, so black text on it reaches 7.49:1.

Should I use black or white text on #b786df?

Black. It scores 7.49:1 against #b786df, versus 2.80:1 for white — AAA at any size.

What is the complementary color of #b786df?

#AEDF86 sits directly opposite on the wheel. Softer options are the split-complements #DBDF86 and #86DF8A, which give the same contrast with far less vibration.

What colors go well with #b786df?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #774B9B for secondary text, #80A527 as an accent and #431B65 for hover and pressed states. For a palette, the analogous pair #8A86DF and #DF86DB stays calm, while #AEDF86 is the loudest partner.

What is #b786df in CMYK for printing?

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

Is #b786df 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 #D886DF; nudged cooler, #9584E1.

Work with #b786df in the Color Lab