Skip to content

#bb8df0

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

RGB
187, 141, 240
HSL
268°, 77%, 75%
CMYK
22, 41, 0, 6
Luminance
0.3591

At a glance

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

Hex
#bb8df0
Hue
268°
violet
Saturation
77%
electric
Lightness
75%
light
Brightness
94%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3591
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.18:1
Closest name
Violet
ΔE2000 10.2
Where it sits
Hue268° of 360°
Saturation77%
Lightness75%
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#bb8df0
RGBrgb(187, 141, 240)
HSLhsl(268, 77%, 75%)
CMYKcmyk(22%, 41%, 0%, 6%)
LABlab(66.5 36.5 -43.4)
LCHlch(66.5 56.7 310.0)
OKLCHoklch(0.726 0.146 304.4)
Decimal12291568
Display P3color(display-p3 0.733 0.553 0.941)

Copy-ready code

/* CSS */
color: #bb8df0;
background-color: #bb8df0;
/* Tailwind (arbitrary) */
class="text-[#bb8df0] bg-[#bb8df0]"
/* SCSS */
$brand: #bb8df0;
/* SwiftUI */
Color(red: 0.733, green: 0.553, blue: 0.941)
/* Android */
Color.parseColor("#bb8df0")
/* Flutter */
Color(0xFFBB8DF0)
/* Python / OpenCV (BGR) */
(240, 141, 187)

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

Accessibility — WCAG contrast

Aa
#bb8df0 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#bb8df0 on black: 8.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #75A0F4
deuteranopia · #7FA2ED
tritanopia · #B29DB3

Color scale — 50 to 950

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

#F7F3FC
#EFE7F9
#DCC7F4
#bb8df0
#A66AEB
#8939E5
#741DD8
#6118B4
#4D1390
#3A1268
#240B41
Base = 300Lightest = 50 · #F7F3FCDarkest = 950 · #240B41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #EFE7F9;
  --brand-200: #DCC7F4;
  --brand-300: #bb8df0;
  --brand-400: #A66AEB;
  --brand-500: #8939E5;
  --brand-600: #741DD8;
  --brand-700: #6118B4;
  --brand-800: #4D1390;
  --brand-900: #3A1268;
  --brand-950: #240B41;
  --brand: #bb8df0;
  --brand-ink: #000000;
}

Colors that work with #bb8df0

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#D5C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#95B913
Second voice, not a rival
Dark variant#3C0F71
Hover, pressed, headers
Light variant#F2E8FC
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 #bb8df0

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#C2F08D
Analogous left#8D90F0
Analogous right#ED8DF0
Split-complement 1#F0ED8D
Split-complement 2#90F08D
Triadic 1#F0BB8D
Triadic 2#8DF0BB
Tetradic#F08D90

RGB percentages

Red73.3%
Green55.3%
Blue94.1%

CMYK percentages

Cyan22.1%
Magenta41.3%
Yellow0.0%
Key (black)5.9%

Color previews

#bb8df0 text on a black background

contrast 8.18:1

Card sample

#bb8df0 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bb8df0

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.

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

#bb8df0, answered

What color is #bb8df0?

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

What is the RGB value of #bb8df0?

rgb(187, 141, 240) — 187 red, 141 green and 240 blue out of 255, or 73.3% / 55.3% / 94.1% by channel.

Is #bb8df0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3591 and perceived brightness is 66%, so black text on it reaches 8.18:1.

Should I use black or white text on #bb8df0?

Black. It scores 8.18:1 against #bb8df0, versus 2.57:1 for white — AAA at any size.

What is the complementary color of #bb8df0?

#C2F08D sits directly opposite on the wheel. Softer options are the split-complements #F0ED8D and #90F08D, which give the same contrast with far less vibration.

What colors go well with #bb8df0?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #95B913 as an accent and #3C0F71 for hover and pressed states. For a palette, the analogous pair #8D90F0 and #ED8DF0 stays calm, while #C2F08D is the loudest partner.

What is #bb8df0 in CMYK for printing?

cmyk(22%, 41%, 0%, 6%). 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 #bb8df0 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 #DF8DF0; nudged cooler, #968CF1.

Work with #bb8df0 in the Color Lab