Skip to content

#bf8dfb

a light, electric violet · cool · closest name: Violet

RGB
191, 141, 251
HSL
267°, 93%, 77%
CMYK
24, 44, 0, 2
Luminance
0.3709

At a glance

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

Hex
#bf8dfb
Hue
267°
violet
Saturation
93%
electric
Lightness
77%
light
Brightness
98%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3709
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.42:1
Closest name
Violet
ΔE2000 10.1
Where it sits
Hue267° of 360°
Saturation93%
Lightness77%
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#bf8dfb
RGBrgb(191, 141, 251)
HSLhsl(267, 93%, 77%)
CMYKcmyk(24%, 44%, 0%, 2%)
LABlab(67.3 40.1 -48.0)
LCHlch(67.3 62.5 309.9)
OKLCHoklch(0.735 0.161 303.7)
Decimal12553723
Display P3color(display-p3 0.749 0.553 0.984)

Copy-ready code

/* CSS */
color: #bf8dfb;
background-color: #bf8dfb;
/* Tailwind (arbitrary) */
class="text-[#bf8dfb] bg-[#bf8dfb]"
/* SCSS */
$brand: #bf8dfb;
/* SwiftUI */
Color(red: 0.749, green: 0.553, blue: 0.984)
/* Android */
Color.parseColor("#bf8dfb")
/* Flutter */
Color(0xFFBF8DFB)
/* Python / OpenCV (BGR) */
(251, 141, 191)

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

Accessibility — WCAG contrast

Aa
#bf8dfb on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#bf8dfb on black: 8.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #70A3FF
deuteranopia · #7CA4F8
tritanopia · #B5A0B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bf8dfb 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.

#F7F2FD
#EFE4FB
#DBC2F9
#bf8dfb
#A45CF9
#8526F7
#7008EC
#5D07C5
#4B069E
#380972
#230547
Base = 300Lightest = 50 · #F7F2FDDarkest = 950 · #230547
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE4FB;
  --brand-200: #DBC2F9;
  --brand-300: #bf8dfb;
  --brand-400: #A45CF9;
  --brand-500: #8526F7;
  --brand-600: #7008EC;
  --brand-700: #5D07C5;
  --brand-800: #4B069E;
  --brand-900: #380972;
  --brand-950: #230547;
  --brand: #bf8dfb;
  --brand-ink: #000000;
}

Colors that work with #bf8dfb

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#A1C903
Second voice, not a rival
Dark variant#3A047B
Hover, pressed, headers
Light variant#F1E6FE
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 #bf8dfb

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#C9FB8D
Analogous left#8D92FB
Analogous right#F68DFB
Split-complement 1#FBF68D
Split-complement 2#92FB8D
Triadic 1#FBBF8D
Triadic 2#8DFBBF
Tetradic#FB8D92

RGB percentages

Red74.9%
Green55.3%
Blue98.4%

CMYK percentages

Cyan23.9%
Magenta43.8%
Yellow0.0%
Key (black)1.6%

Color previews

#bf8dfb text on a black background

contrast 8.42:1

Card sample

#bf8dfb text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 141, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 141, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bf8dfb;
background: linear-gradient(135deg, #bf8dfb, #FB8DEE);

Monochromatic scale

Palettes built from #bf8dfb

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.

#bf8dfb 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#bf8dfb, answered

What color is #bf8dfb?

#bf8dfb is a light electric violet, closest to Violet (ΔE2000 10.1). It sits at 267° on the hue wheel with 93% saturation and 77% lightness, which reads as cool.

What is the RGB value of #bf8dfb?

rgb(191, 141, 251) — 191 red, 141 green and 251 blue out of 255, or 74.9% / 55.3% / 98.4% by channel.

Is #bf8dfb a light or a dark color?

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

Should I use black or white text on #bf8dfb?

Black. It scores 8.42:1 against #bf8dfb, versus 2.49:1 for white — AAA at any size.

What is the complementary color of #bf8dfb?

#C9FB8D sits directly opposite on the wheel. Softer options are the split-complements #FBF68D and #92FB8D, which give the same contrast with far less vibration.

What colors go well with #bf8dfb?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #A1C903 as an accent and #3A047B for hover and pressed states. For a palette, the analogous pair #8D92FB and #F68DFB stays calm, while #C9FB8D is the loudest partner.

What is #bf8dfb in CMYK for printing?

cmyk(24%, 44%, 0%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #bf8dfb 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 #E78DFB; nudged cooler, #968CFC.

Work with #bf8dfb in the Color Lab