Skip to content

#b799df

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

RGB
183, 153, 223
HSL
266°, 52%, 74%
CMYK
18, 31, 0, 13
Luminance
0.3818

At a glance

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

Hex
#b799df
Hue
266°
violet
Saturation
52%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3818
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.64:1
Closest name
Plum
ΔE2000 8.9
Where it sits
Hue266° of 360°
Saturation52%
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#b799df
RGBrgb(183, 153, 223)
HSLhsl(266, 52%, 74%)
CMYKcmyk(18%, 31%, 0%, 13%)
LABlab(68.2 24.8 -31.4)
LCHlch(68.2 40.0 308.2)
OKLCHoklch(0.735 0.104 303.6)
Decimal12032479
Display P3color(display-p3 0.718 0.600 0.875)

Copy-ready code

/* CSS */
color: #b799df;
background-color: #b799df;
/* Tailwind (arbitrary) */
class="text-[#b799df] bg-[#b799df]"
/* SCSS */
$brand: #b799df;
/* SwiftUI */
Color(red: 0.718, green: 0.600, blue: 0.875)
/* Android */
Color.parseColor("#b799df")
/* Flutter */
Color(0xFFB799DF)
/* Python / OpenCV (BGR) */
(223, 153, 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 #b799df · 8.64:1
Use #000000AAA at every size.
Aa
White text · 2.43:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.64:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b799df as text scores 2.43:1 on white and 8.64:1 on black.

Accessibility — WCAG contrast

Aa
#b799df on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#b799df on black: 8.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8BA5E2
deuteranopia · #90A6DD
tritanopia · #B1A3B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b799df 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
#EFE9F6
#DCCFED
#b799df
#A57FD7
#8654C9
#713BBA
#5E319B
#4B277C
#39205B
#241439
Base = 300Lightest = 50 · #F7F4FADarkest = 950 · #241439
:root {
  --brand-50: #F7F4FA;
  --brand-100: #EFE9F6;
  --brand-200: #DCCFED;
  --brand-300: #b799df;
  --brand-400: #A57FD7;
  --brand-500: #8654C9;
  --brand-600: #713BBA;
  --brand-700: #5E319B;
  --brand-800: #4B277C;
  --brand-900: #39205B;
  --brand-950: #241439;
  --brand: #b799df;
  --brand-ink: #000000;
}

Colors that work with #b799df

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#8AA02C
Second voice, not a rival
Dark variant#3B1E61
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 #b799df

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#C1DF99
Analogous left#999EDF
Analogous right#DA99DF
Split-complement 1#DFDA99
Split-complement 2#9EDF99
Triadic 1#DFB799
Triadic 2#99DFB7
Tetradic#DF999E

RGB percentages

Red71.8%
Green60.0%
Blue87.5%

CMYK percentages

Cyan17.9%
Magenta31.4%
Yellow0.0%
Key (black)12.5%

Color previews

#b799df text on a black background

contrast 8.64:1

Card sample

#b799df text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b799df

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.

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

#b799df, answered

What color is #b799df?

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

What is the RGB value of #b799df?

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

Is #b799df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3818 and perceived brightness is 67%, so black text on it reaches 8.64:1.

Should I use black or white text on #b799df?

Black. It scores 8.64:1 against #b799df, versus 2.43:1 for white — AAA at any size.

What is the complementary color of #b799df?

#C1DF99 sits directly opposite on the wheel. Softer options are the split-complements #DFDA99 and #9EDF99, which give the same contrast with far less vibration.

What colors go well with #b799df?

For interface work: #F7F4FA as the surface, #D3C1EB for borders, #6D4B9B for secondary text, #8AA02C as an accent and #3B1E61 for hover and pressed states. For a palette, the analogous pair #999EDF and #DA99DF stays calm, while #C1DF99 is the loudest partner.

What is #b799df in CMYK for printing?

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

Is #b799df 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 #D199DF; nudged cooler, #9C98E0.

Work with #b799df in the Color Lab