Skip to content

#b232df

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

RGB
178, 50, 223
HSL
284°, 73%, 54%
CMYK
20, 78, 0, 13
Luminance
0.1707

At a glance

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

Hex
#b232df
Hue
284°
violet
Saturation
73%
vivid
Lightness
54%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1707
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.76:1
Closest name
Dark Orchid
ΔE2000 5.2
Where it sits
Hue284° of 360°
Saturation73%
Lightness54%
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#b232df
RGBrgb(178, 50, 223)
HSLhsl(284, 73%, 54%)
CMYKcmyk(20%, 78%, 0%, 13%)
LABlab(48.4 73.4 -62.8)
LCHlch(48.4 96.6 319.5)
OKLCHoklch(0.588 0.252 315.2)
Decimal11678431
Display P3color(display-p3 0.698 0.196 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b232df on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#b232df on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006CE4
deuteranopia · #2A76DB
tritanopia · #AE5B89

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b232df 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
#DB9EF0
#C86DE8
#b232df
#A521D4
#8A1CB0
#6E168D
#511466
#330D40
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #330D40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F8;
  --brand-200: #E8C9F3;
  --brand-300: #DB9EF0;
  --brand-400: #C86DE8;
  --brand-500: #b232df;
  --brand-600: #A521D4;
  --brand-700: #8A1CB0;
  --brand-800: #6E168D;
  --brand-900: #511466;
  --brand-950: #330D40;
  --brand: #b232df;
  --brand-ink: #ffffff;
}

Colors that work with #b232df

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#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#67B517
Second voice, not a rival
Dark variant#56116E
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 #b232df

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#5FDF32
Analogous left#5B32DF
Analogous right#DF32B5
Split-complement 1#B5DF32
Split-complement 2#32DF5B
Triadic 1#DFB232
Triadic 2#32DFB2
Tetradic#DF5B32

RGB percentages

Red69.8%
Green19.6%
Blue87.5%

CMYK percentages

Cyan20.2%
Magenta77.6%
Yellow0.0%
Key (black)12.5%

Color previews

#b232df text on a black background

contrast 4.41:1

Card sample

#b232df text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b232df

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.

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

#b232df, answered

What color is #b232df?

#b232df is a balanced vivid violet, closest to Dark Orchid (ΔE2000 5.2). It sits at 284° on the hue wheel with 73% saturation and 54% lightness, which reads as cool.

What is the RGB value of #b232df?

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

Is #b232df a light or a dark color?

It is a dark color. Relative luminance is 0.1707 and perceived brightness is 51%, so white text on it reaches 4.76:1.

Should I use black or white text on #b232df?

White. It scores 4.76:1 against #b232df, versus 4.41:1 for black — AA at any size.

What is the complementary color of #b232df?

#5FDF32 sits directly opposite on the wheel. Softer options are the split-complements #B5DF32 and #32DF5B, which give the same contrast with far less vibration.

What colors go well with #b232df?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #67B517 as an accent and #56116E for hover and pressed states. For a palette, the analogous pair #5B32DF and #DF32B5 stays calm, while #5FDF32 is the loudest partner.

What is #b232df in CMYK for printing?

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

Is #b232df 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 #DF32CD; nudged cooler, #722FE1.

Work with #b232df in the Color Lab