Skip to content

#bf8afd

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

RGB
191, 138, 253
HSL
268°, 97%, 77%
CMYK
25, 46, 0, 1
Luminance
0.3635

At a glance

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

Hex
#bf8afd
Hue
268°
violet
Saturation
97%
electric
Lightness
77%
light
Brightness
99%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3635
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.27:1
Closest name
Violet
ΔE2000 10.1
Where it sits
Hue268° of 360°
Saturation97%
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#bf8afd
RGBrgb(191, 138, 253)
HSLhsl(268, 97%, 77%)
CMYKcmyk(25%, 46%, 0%, 1%)
LABlab(66.8 42.2 -50.0)
LCHlch(66.8 65.4 310.2)
OKLCHoklch(0.731 0.168 303.8)
Decimal12552957
Display P3color(display-p3 0.749 0.541 0.992)

Copy-ready code

/* CSS */
color: #bf8afd;
background-color: #bf8afd;
/* Tailwind (arbitrary) */
class="text-[#bf8afd] bg-[#bf8afd]"
/* SCSS */
$brand: #bf8afd;
/* SwiftUI */
Color(red: 0.749, green: 0.541, blue: 0.992)
/* Android */
Color.parseColor("#bf8afd")
/* Flutter */
Color(0xFFBF8AFD)
/* Python / OpenCV (BGR) */
(253, 138, 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 #bf8afd · 8.27:1
Use #000000AAA at every size.
Aa
White text · 2.54:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bf8afd as text scores 2.54:1 on white and 8.27:1 on black.

Accessibility — WCAG contrast

Aa
#bf8afd on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#bf8afd on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6BA1FF
deuteranopia · #78A2FA
tritanopia · #B49EB8

Color scale — 50 to 950

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

#F7F1FD
#EFE4FC
#DCC1FB
#bf8afd
#A55AFC
#8622FB
#7104F1
#5E03C9
#4C03A0
#390774
#240448
Base = 300Lightest = 50 · #F7F1FDDarkest = 950 · #240448
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE4FC;
  --brand-200: #DCC1FB;
  --brand-300: #bf8afd;
  --brand-400: #A55AFC;
  --brand-500: #8622FB;
  --brand-600: #7104F1;
  --brand-700: #5E03C9;
  --brand-800: #4C03A0;
  --brand-900: #390774;
  --brand-950: #240448;
  --brand: #bf8afd;
  --brand-ink: #000000;
}

Colors that work with #bf8afd

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#704B9B
Captions on the surface
Accent#A1CC00
Second voice, not a rival
Dark variant#3B027D
Hover, pressed, headers
Light variant#F1E6FF
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 #bf8afd

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#C8FD8A
Analogous left#8A8FFD
Analogous right#F98AFD
Split-complement 1#FDF98A
Split-complement 2#8FFD8A
Triadic 1#FDBF8A
Triadic 2#8AFDBF
Tetradic#FD8A8F

RGB percentages

Red74.9%
Green54.1%
Blue99.2%

CMYK percentages

Cyan24.5%
Magenta45.5%
Yellow0.0%
Key (black)0.8%

Color previews

#bf8afd text on a black background

contrast 8.27:1

Card sample

#bf8afd text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf8afd

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.

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

#bf8afd, answered

What color is #bf8afd?

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

What is the RGB value of #bf8afd?

rgb(191, 138, 253) — 191 red, 138 green and 253 blue out of 255, or 74.9% / 54.1% / 99.2% by channel.

Is #bf8afd a light or a dark color?

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

Should I use black or white text on #bf8afd?

Black. It scores 8.27:1 against #bf8afd, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #bf8afd?

#C8FD8A sits directly opposite on the wheel. Softer options are the split-complements #FDF98A and #8FFD8A, which give the same contrast with far less vibration.

What colors go well with #bf8afd?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #704B9B for secondary text, #A1CC00 as an accent and #3B027D for hover and pressed states. For a palette, the analogous pair #8A8FFD and #F98AFD stays calm, while #C8FD8A is the loudest partner.

What is #bf8afd in CMYK for printing?

cmyk(25%, 46%, 0%, 1%). 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 #bf8afd 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 #E98AFD; nudged cooler, #9489FE.

Work with #bf8afd in the Color Lab