Skip to content

#bc7aef

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

RGB
188, 122, 239
HSL
274°, 79%, 71%
CMYK
21, 49, 0, 6
Luminance
0.3084

At a glance

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

Hex
#bc7aef
Hue
274°
violet
Saturation
79%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3084
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.17:1
Closest name
Medium Purple
ΔE2000 8.3
Where it sits
Hue274° of 360°
Saturation79%
Lightness71%
Temperature
Warm ← → Cool65% 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#bc7aef
RGBrgb(188, 122, 239)
HSLhsl(274, 79%, 71%)
CMYKcmyk(21%, 49%, 0%, 6%)
LABlab(62.4 46.8 -49.3)
LCHlch(62.4 68.0 313.6)
OKLCHoklch(0.695 0.176 308.5)
Decimal12352239
Display P3color(display-p3 0.737 0.478 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc7aef on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#bc7aef on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B94F3
deuteranopia · #6E98EC
tritanopia · #B58EA9

Color scale — 50 to 950

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

#F8F3FC
#F1E6F9
#E1C7F5
#CC9BF3
#bc7aef
#9A37E7
#871ADA
#7016B6
#5A1292
#431169
#2A0B42
Base = 400Lightest = 50 · #F8F3FCDarkest = 950 · #2A0B42
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E6F9;
  --brand-200: #E1C7F5;
  --brand-300: #CC9BF3;
  --brand-400: #bc7aef;
  --brand-500: #9A37E7;
  --brand-600: #871ADA;
  --brand-700: #7016B6;
  --brand-800: #5A1292;
  --brand-900: #431169;
  --brand-950: #2A0B42;
  --brand: #bc7aef;
  --brand-ink: #000000;
}

Colors that work with #bc7aef

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#85BA12
Second voice, not a rival
Dark variant#460E72
Hover, pressed, headers
Light variant#F4E8FC
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 #bc7aef

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#ADEF7A
Analogous left#817AEF
Analogous right#EF7AE8
Split-complement 1#E8EF7A
Split-complement 2#7AEF81
Triadic 1#EFBC7A
Triadic 2#7AEFBC
Tetradic#EF817A

RGB percentages

Red73.7%
Green47.8%
Blue93.7%

CMYK percentages

Cyan21.3%
Magenta49.0%
Yellow0.0%
Key (black)6.3%

Color previews

#bc7aef text on a black background

contrast 7.17:1

Card sample

#bc7aef text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc7aef

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.

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

#bc7aef, answered

What color is #bc7aef?

#bc7aef is a light electric violet, closest to Medium Purple (ΔE2000 8.3). It sits at 274° on the hue wheel with 79% saturation and 71% lightness, which reads as cool.

What is the RGB value of #bc7aef?

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

Is #bc7aef a light or a dark color?

It is a mid-tone. Relative luminance is 0.3084 and perceived brightness is 63%, so black text on it reaches 7.17:1.

Should I use black or white text on #bc7aef?

Black. It scores 7.17:1 against #bc7aef, versus 2.93:1 for white — AAA at any size.

What is the complementary color of #bc7aef?

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

What colors go well with #bc7aef?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #85BA12 as an accent and #460E72 for hover and pressed states. For a palette, the analogous pair #817AEF and #EF7AE8 stays calm, while #ADEF7A is the loudest partner.

What is #bc7aef in CMYK for printing?

cmyk(21%, 49%, 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 #bc7aef warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E77AEF; nudged cooler, #9079F0.

Work with #bc7aef in the Color Lab