Skip to content

#b99cdf

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

RGB
185, 156, 223
HSL
266°, 51%, 74%
CMYK
17, 30, 0, 13
Luminance
0.3942

At a glance

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

Hex
#b99cdf
Hue
266°
violet
Saturation
51%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3942
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.88:1
Closest name
Plum
ΔE2000 8.4
Where it sits
Hue266° of 360°
Saturation51%
Lightness74%
Temperature
Warm ← → Cool69% 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#b99cdf
RGBrgb(185, 156, 223)
HSLhsl(266, 51%, 74%)
CMYKcmyk(17%, 30%, 0%, 13%)
LABlab(69.0 23.7 -30.0)
LCHlch(69.0 38.2 308.3)
OKLCHoklch(0.743 0.099 303.9)
Decimal12164319
Display P3color(display-p3 0.725 0.612 0.875)

Copy-ready code

/* CSS */
color: #b99cdf;
background-color: #b99cdf;
/* Tailwind (arbitrary) */
class="text-[#b99cdf] bg-[#b99cdf]"
/* SCSS */
$brand: #b99cdf;
/* SwiftUI */
Color(red: 0.725, green: 0.612, blue: 0.875)
/* Android */
Color.parseColor("#b99cdf")
/* Flutter */
Color(0xFFB99CDF)
/* Python / OpenCV (BGR) */
(223, 156, 185)

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

Accessibility — WCAG contrast

Aa
#b99cdf on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#b99cdf on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8FA8E2
deuteranopia · #94A9DD
tritanopia · #B3A6B4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b99cdf is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F4FA
#EFEAF6
#DCCFED
#b99cdf
#A580D6
#8755C8
#723CB9
#5F329A
#4C287B
#39205A
#241438
Base = 300Lightest = 50 · #F7F4FADarkest = 950 · #241438
:root {
  --brand-50: #F7F4FA;
  --brand-100: #EFEAF6;
  --brand-200: #DCCFED;
  --brand-300: #b99cdf;
  --brand-400: #A580D6;
  --brand-500: #8755C8;
  --brand-600: #723CB9;
  --brand-700: #5F329A;
  --brand-800: #4C287B;
  --brand-900: #39205A;
  --brand-950: #241438;
  --brand: #b99cdf;
  --brand-ink: #000000;
}

Colors that work with #b99cdf

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#F7F4FA
Tinted page background
Border#D3C1EB
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#899F2D
Second voice, not a rival
Dark variant#3B1F60
Hover, pressed, headers
Light variant#F1ECF9
Selected rows, tints
Dark surface#1B1424
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 #b99cdf

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#C2DF9C
Analogous left#9CA0DF
Analogous right#DA9CDF
Split-complement 1#DFDA9C
Split-complement 2#A0DF9C
Triadic 1#DFB99C
Triadic 2#9CDFB9
Tetradic#DF9CA0

RGB percentages

Red72.5%
Green61.2%
Blue87.5%

CMYK percentages

Cyan17.0%
Magenta30.0%
Yellow0.0%
Key (black)12.5%

Color previews

#b99cdf text on a black background

contrast 8.88:1

Card sample

#b99cdf text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b99cdf

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.

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

#b99cdf, answered

What color is #b99cdf?

#b99cdf is a light vivid violet, closest to Plum (ΔE2000 8.4). It sits at 266° on the hue wheel with 51% saturation and 74% lightness, which reads as cool.

What is the RGB value of #b99cdf?

rgb(185, 156, 223) — 185 red, 156 green and 223 blue out of 255, or 72.5% / 61.2% / 87.5% by channel.

Is #b99cdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3942 and perceived brightness is 68%, so black text on it reaches 8.88:1.

Should I use black or white text on #b99cdf?

Black. It scores 8.88:1 against #b99cdf, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #b99cdf?

#C2DF9C sits directly opposite on the wheel. Softer options are the split-complements #DFDA9C and #A0DF9C, which give the same contrast with far less vibration.

What colors go well with #b99cdf?

For interface work: #F7F4FA as the surface, #D3C1EB for borders, #6D4B9B for secondary text, #899F2D as an accent and #3B1F60 for hover and pressed states. For a palette, the analogous pair #9CA0DF and #DA9CDF stays calm, while #C2DF9C is the loudest partner.

What is #b99cdf in CMYK for printing?

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

Is #b99cdf warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D29CDF; nudged cooler, #9F9BE0.

Work with #b99cdf in the Color Lab