Skip to content

#bc7af7

a light, electric violet · cool · closest name: Medium Purple

RGB
188, 122, 247
HSL
272°, 89%, 72%
CMYK
24, 51, 0, 3
Luminance
0.3133

At a glance

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

Hex
#bc7af7
Hue
272°
violet
Saturation
89%
electric
Lightness
72%
light
Brightness
97%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3133
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.27:1
Closest name
Medium Purple
ΔE2000 8.4
Where it sits
Hue272° of 360°
Saturation89%
Lightness72%
Temperature
Warm ← → Cool66% 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#bc7af7
RGBrgb(188, 122, 247)
HSLhsl(272, 89%, 72%)
CMYKcmyk(24%, 51%, 0%, 3%)
LABlab(62.8 48.6 -53.0)
LCHlch(62.8 72.0 312.5)
OKLCHoklch(0.699 0.185 306.6)
Decimal12352247
Display P3color(display-p3 0.737 0.478 0.969)

Copy-ready code

/* CSS */
color: #bc7af7;
background-color: #bc7af7;
/* Tailwind (arbitrary) */
class="text-[#bc7af7] bg-[#bc7af7]"
/* SCSS */
$brand: #bc7af7;
/* SwiftUI */
Color(red: 0.737, green: 0.478, blue: 0.969)
/* Android */
Color.parseColor("#bc7af7")
/* Flutter */
Color(0xFFBC7AF7)
/* Python / OpenCV (BGR) */
(247, 122, 188)

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

Accessibility — WCAG contrast

Aa
#bc7af7 on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#bc7af7 on black: 7.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5596FB
deuteranopia · #6998F4
tritanopia · #B390AD

Color scale — 50 to 950

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

#F8F2FD
#F0E5FB
#DFC4F8
#CA95F9
#bc7af7
#942BF2
#810EE7
#6B0CC0
#56099A
#400B6F
#280745
Base = 400Lightest = 50 · #F8F2FDDarkest = 950 · #280745
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F0E5FB;
  --brand-200: #DFC4F8;
  --brand-300: #CA95F9;
  --brand-400: #bc7af7;
  --brand-500: #942BF2;
  --brand-600: #810EE7;
  --brand-700: #6B0CC0;
  --brand-800: #56099A;
  --brand-900: #400B6F;
  --brand-950: #280745;
  --brand: #bc7af7;
  --brand-ink: #000000;
}

Colors that work with #bc7af7

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#F8F4FA
Tinted page background
Border#D7C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#91C507
Second voice, not a rival
Dark variant#430778
Hover, pressed, headers
Light variant#F3E7FE
Selected rows, tints
Dark surface#1D1424
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 #bc7af7

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#B5F77A
Analogous left#7E7AF7
Analogous right#F77AF4
Split-complement 1#F4F77A
Split-complement 2#7AF77E
Triadic 1#F7BC7A
Triadic 2#7AF7BC
Tetradic#F77E7A

RGB percentages

Red73.7%
Green47.8%
Blue96.9%

CMYK percentages

Cyan23.9%
Magenta50.6%
Yellow0.0%
Key (black)3.1%

Color previews

#bc7af7 text on a black background

contrast 7.27:1

Card sample

#bc7af7 text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 122, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 122, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc7af7;
background: linear-gradient(135deg, #bc7af7, #F77ADF);

Monochromatic scale

Palettes built from #bc7af7

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.

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

#bc7af7, answered

What color is #bc7af7?

#bc7af7 is a light electric violet, closest to Medium Purple (ΔE2000 8.4). It sits at 272° on the hue wheel with 89% saturation and 72% lightness, which reads as cool.

What is the RGB value of #bc7af7?

rgb(188, 122, 247) — 188 red, 122 green and 247 blue out of 255, or 73.7% / 47.8% / 96.9% by channel.

Is #bc7af7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3133 and perceived brightness is 64%, so black text on it reaches 7.27:1.

Should I use black or white text on #bc7af7?

Black. It scores 7.27:1 against #bc7af7, versus 2.89:1 for white — AAA at any size.

What is the complementary color of #bc7af7?

#B5F77A sits directly opposite on the wheel. Softer options are the split-complements #F4F77A and #7AF77E, which give the same contrast with far less vibration.

What colors go well with #bc7af7?

For interface work: #F8F4FA as the surface, #D7C0ED for borders, #754B9B for secondary text, #91C507 as an accent and #430778 for hover and pressed states. For a palette, the analogous pair #7E7AF7 and #F77AF4 stays calm, while #B5F77A is the loudest partner.

What is #bc7af7 in CMYK for printing?

cmyk(24%, 51%, 0%, 3%). 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 #bc7af7 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EA7AF7; nudged cooler, #8D79F8.

Work with #bc7af7 in the Color Lab