Skip to content

#b38fdf

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

RGB
179, 143, 223
HSL
267°, 56%, 72%
CMYK
20, 36, 0, 13
Luminance
0.3456

At a glance

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

Hex
#b38fdf
Hue
267°
violet
Saturation
56%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3456
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.91:1
Closest name
Plum
ΔE2000 10.3
Where it sits
Hue267° of 360°
Saturation56%
Lightness72%
Temperature
Warm ← → Cool68% 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#b38fdf
RGBrgb(179, 143, 223)
HSLhsl(267, 56%, 72%)
CMYKcmyk(20%, 36%, 0%, 13%)
LABlab(65.4 29.1 -35.7)
LCHlch(65.4 46.1 309.2)
OKLCHoklch(0.713 0.119 304.2)
Decimal11767775
Display P3color(display-p3 0.702 0.561 0.875)

Copy-ready code

/* CSS */
color: #b38fdf;
background-color: #b38fdf;
/* Tailwind (arbitrary) */
class="text-[#b38fdf] bg-[#b38fdf]"
/* SCSS */
$brand: #b38fdf;
/* SwiftUI */
Color(red: 0.702, green: 0.561, blue: 0.875)
/* Android */
Color.parseColor("#b38fdf")
/* Flutter */
Color(0xFFB38FDF)
/* Python / OpenCV (BGR) */
(223, 143, 179)

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

Accessibility — WCAG contrast

Aa
#b38fdf on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#b38fdf on black: 7.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D9EE2
deuteranopia · #859FDD
tritanopia · #AC9BAD

Color scale — 50 to 950

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

#F7F4FB
#EFE9F6
#DCCEEE
#C4A8E6
#b38fdf
#8950CD
#7436BE
#602D9F
#4D247F
#3A1E5D
#24133A
Base = 400Lightest = 50 · #F7F4FBDarkest = 950 · #24133A
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F6;
  --brand-200: #DCCEEE;
  --brand-300: #C4A8E6;
  --brand-400: #b38fdf;
  --brand-500: #8950CD;
  --brand-600: #7436BE;
  --brand-700: #602D9F;
  --brand-800: #4D247F;
  --brand-900: #3A1E5D;
  --brand-950: #24133A;
  --brand: #b38fdf;
  --brand-ink: #000000;
}

Colors that work with #b38fdf

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#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#8BA329
Second voice, not a rival
Dark variant#3C1C63
Hover, pressed, headers
Light variant#F2EBF9
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 #b38fdf

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#BBDF8F
Analogous left#8F93DF
Analogous right#DB8FDF
Split-complement 1#DFDB8F
Split-complement 2#93DF8F
Triadic 1#DFB38F
Triadic 2#8FDFB3
Tetradic#DF8F93

RGB percentages

Red70.2%
Green56.1%
Blue87.5%

CMYK percentages

Cyan19.7%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#b38fdf text on a black background

contrast 7.91:1

Card sample

#b38fdf text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b38fdf

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.

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

#b38fdf, answered

What color is #b38fdf?

#b38fdf is a light vivid violet, closest to Plum (ΔE2000 10.3). It sits at 267° on the hue wheel with 56% saturation and 72% lightness, which reads as cool.

What is the RGB value of #b38fdf?

rgb(179, 143, 223) — 179 red, 143 green and 223 blue out of 255, or 70.2% / 56.1% / 87.5% by channel.

Is #b38fdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3456 and perceived brightness is 65%, so black text on it reaches 7.91:1.

Should I use black or white text on #b38fdf?

Black. It scores 7.91:1 against #b38fdf, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #b38fdf?

#BBDF8F sits directly opposite on the wheel. Softer options are the split-complements #DFDB8F and #93DF8F, which give the same contrast with far less vibration.

What colors go well with #b38fdf?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #8BA329 as an accent and #3C1C63 for hover and pressed states. For a palette, the analogous pair #8F93DF and #DB8FDF stays calm, while #BBDF8F is the loudest partner.

What is #b38fdf in CMYK for printing?

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

Is #b38fdf warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D08FDF; nudged cooler, #958EE1.

Work with #b38fdf in the Color Lab