Skip to content

#b223df

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

RGB
178, 35, 223
HSL
286°, 75%, 51%
CMYK
20, 84, 0, 13
Luminance
0.1599

At a glance

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

Hex
#b223df
Hue
286°
violet
Saturation
75%
vivid
Lightness
51%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1599
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.00:1
Closest name
Dark Orchid
ΔE2000 4.5
Where it sits
Hue286° of 360°
Saturation75%
Lightness51%
Temperature
Warm ← → Cool58% 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#b223df
RGBrgb(178, 35, 223)
HSLhsl(286, 75%, 51%)
CMYKcmyk(20%, 84%, 0%, 13%)
LABlab(47.0 77.4 -65.0)
LCHlch(47.0 101.1 320.0)
OKLCHoklch(0.578 0.263 315.8)
Decimal11674591
Display P3color(display-p3 0.698 0.137 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b223df on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#b223df on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068E4
deuteranopia · #1973DB
tritanopia · #AE5486

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b223df 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
#F4E7F9
#E9C8F4
#DD9DF1
#CB6CEA
#BA3BE3
#b223df
#8E1AB2
#71158E
#531367
#340C41
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #340C41
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F4E7F9;
  --brand-200: #E9C8F4;
  --brand-300: #DD9DF1;
  --brand-400: #CB6CEA;
  --brand-500: #BA3BE3;
  --brand-600: #b223df;
  --brand-700: #8E1AB2;
  --brand-800: #71158E;
  --brand-900: #531367;
  --brand-950: #340C41;
  --brand: #b223df;
  --brand-ink: #ffffff;
}

Colors that work with #b223df

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#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#64B616
Second voice, not a rival
Dark variant#58106F
Hover, pressed, headers
Light variant#F7E9FC
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 #b223df

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#50DF23
Analogous left#5423DF
Analogous right#DF23AE
Split-complement 1#AEDF23
Split-complement 2#23DF54
Triadic 1#DFB223
Triadic 2#23DFB2
Tetradic#DF5423

RGB percentages

Red69.8%
Green13.7%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta84.3%
Yellow0.0%
Key (black)12.5%

Color previews

#b223df text on a black background

contrast 4.20:1

Card sample

#b223df text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b223df

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.

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

#b223df, answered

What color is #b223df?

#b223df is a balanced vivid violet, closest to Dark Orchid (ΔE2000 4.5). It sits at 286° on the hue wheel with 75% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #b223df?

rgb(178, 35, 223) — 178 red, 35 green and 223 blue out of 255, or 69.8% / 13.7% / 87.5% by channel.

Is #b223df a light or a dark color?

It is a dark color. Relative luminance is 0.1599 and perceived brightness is 49%, so white text on it reaches 5.00:1.

Should I use black or white text on #b223df?

White. It scores 5.00:1 against #b223df, versus 4.20:1 for black — AA at any size.

What is the complementary color of #b223df?

#50DF23 sits directly opposite on the wheel. Softer options are the split-complements #AEDF23 and #23DF54, which give the same contrast with far less vibration.

What colors go well with #b223df?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #64B616 as an accent and #58106F for hover and pressed states. For a palette, the analogous pair #5423DF and #DF23AE stays calm, while #50DF23 is the loudest partner.

What is #b223df in CMYK for printing?

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

Is #b223df warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF23C7; nudged cooler, #6C21E2.

Work with #b223df in the Color Lab