Skip to content

#b02ddf

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

RGB
176, 45, 223
HSL
284°, 74%, 53%
CMYK
21, 80, 0, 13
Luminance
0.1643

At a glance

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

Hex
#b02ddf
Hue
284°
violet
Saturation
74%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1643
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.90:1
Closest name
Dark Orchid
ΔE2000 4.6
Where it sits
Hue284° of 360°
Saturation74%
Lightness53%
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#b02ddf
RGBrgb(176, 45, 223)
HSLhsl(284, 74%, 53%)
CMYKcmyk(21%, 80%, 0%, 13%)
LABlab(47.5 74.5 -64.1)
LCHlch(47.5 98.3 319.3)
OKLCHoklch(0.581 0.255 314.8)
Decimal11546079
Display P3color(display-p3 0.690 0.176 0.875)

Copy-ready code

/* CSS */
color: #b02ddf;
background-color: #b02ddf;
/* Tailwind (arbitrary) */
class="text-[#b02ddf] bg-[#b02ddf]"
/* SCSS */
$brand: #b02ddf;
/* SwiftUI */
Color(red: 0.690, green: 0.176, blue: 0.875)
/* Android */
Color.parseColor("#b02ddf")
/* Flutter */
Color(0xFFB02DDF)
/* Python / OpenCV (BGR) */
(223, 45, 176)

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

Accessibility — WCAG contrast

Aa
#b02ddf on white: 4.90:1
AA ✓ pass · AA-large · AAA
Aa
#b02ddf on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AE4
deuteranopia · #1F74DB
tritanopia · #AC5988

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b02ddf 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
#E8C8F3
#DA9EF0
#C86DE9
#b02ddf
#A520D4
#8A1BB1
#6E168E
#511467
#330C40
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #330C40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F8;
  --brand-200: #E8C8F3;
  --brand-300: #DA9EF0;
  --brand-400: #C86DE9;
  --brand-500: #b02ddf;
  --brand-600: #A520D4;
  --brand-700: #8A1BB1;
  --brand-800: #6E168E;
  --brand-900: #511467;
  --brand-950: #330C40;
  --brand: #b02ddf;
  --brand-ink: #ffffff;
}

Colors that work with #b02ddf

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#68B517
Second voice, not a rival
Dark variant#56116F
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 #b02ddf

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#5CDF2D
Analogous left#572DDF
Analogous right#DF2DB5
Split-complement 1#B5DF2D
Split-complement 2#2DDF57
Triadic 1#DFB02D
Triadic 2#2DDFB0
Tetradic#DF572D

RGB percentages

Red69.0%
Green17.6%
Blue87.5%

CMYK percentages

Cyan21.1%
Magenta79.8%
Yellow0.0%
Key (black)12.5%

Color previews

#b02ddf text on a black background

contrast 4.29:1

Card sample

#b02ddf text on a white background

contrast 4.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b02ddf

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.

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

#b02ddf, answered

What color is #b02ddf?

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

What is the RGB value of #b02ddf?

rgb(176, 45, 223) — 176 red, 45 green and 223 blue out of 255, or 69% / 17.6% / 87.5% by channel.

Is #b02ddf a light or a dark color?

It is a dark color. Relative luminance is 0.1643 and perceived brightness is 50%, so white text on it reaches 4.90:1.

Should I use black or white text on #b02ddf?

White. It scores 4.90:1 against #b02ddf, versus 4.29:1 for black — AA at any size.

What is the complementary color of #b02ddf?

#5CDF2D sits directly opposite on the wheel. Softer options are the split-complements #B5DF2D and #2DDF57, which give the same contrast with far less vibration.

What colors go well with #b02ddf?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #68B517 as an accent and #56116F for hover and pressed states. For a palette, the analogous pair #572DDF and #DF2DB5 stays calm, while #5CDF2D is the loudest partner.

What is #b02ddf in CMYK for printing?

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

Is #b02ddf 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 #DF2DCD; nudged cooler, #6E2AE1.

Work with #b02ddf in the Color Lab