Skip to content

#b577fd

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

RGB
181, 119, 253
HSL
268°, 97%, 73%
CMYK
29, 53, 0, 1
Luminance
0.3011

At a glance

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

Hex
#b577fd
Hue
268°
violet
Saturation
97%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3011
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.02:1
Closest name
Medium Purple
ΔE2000 7.4
Where it sits
Hue268° of 360°
Saturation97%
Lightness73%
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#b577fd
RGBrgb(181, 119, 253)
HSLhsl(268, 97%, 73%)
CMYKcmyk(29%, 53%, 0%, 1%)
LABlab(61.8 49.8 -58.0)
LCHlch(61.8 76.5 310.7)
OKLCHoklch(0.691 0.195 303.0)
Decimal11892733
Display P3color(display-p3 0.710 0.467 0.992)

Copy-ready code

/* CSS */
color: #b577fd;
background-color: #b577fd;
/* Tailwind (arbitrary) */
class="text-[#b577fd] bg-[#b577fd]"
/* SCSS */
$brand: #b577fd;
/* SwiftUI */
Color(red: 0.710, green: 0.467, blue: 0.992)
/* Android */
Color.parseColor("#b577fd")
/* Flutter */
Color(0xFFB577FD)
/* Python / OpenCV (BGR) */
(253, 119, 181)

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

Accessibility — WCAG contrast

Aa
#b577fd on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#b577fd on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4794FF
deuteranopia · #5B95FA
tritanopia · #A890AF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b577fd 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
#b577fd
#A559FD
#8722FC
#7204F1
#5F03C9
#4C02A1
#390774
#240448
Base = 300Lightest = 50 · #F7F1FDDarkest = 950 · #240448
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE4FC;
  --brand-200: #DCC1FB;
  --brand-300: #b577fd;
  --brand-400: #A559FD;
  --brand-500: #8722FC;
  --brand-600: #7204F1;
  --brand-700: #5F03C9;
  --brand-800: #4C02A1;
  --brand-900: #390774;
  --brand-950: #240448;
  --brand: #b577fd;
  --brand-ink: #000000;
}

Colors that work with #b577fd

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#A1CC00
Second voice, not a rival
Dark variant#3B027E
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 #b577fd

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#BFFD77
Analogous left#777CFD
Analogous right#F877FD
Split-complement 1#FDF877
Split-complement 2#7CFD77
Triadic 1#FDB577
Triadic 2#77FDB5
Tetradic#FD777C

RGB percentages

Red71.0%
Green46.7%
Blue99.2%

CMYK percentages

Cyan28.5%
Magenta53.0%
Yellow0.0%
Key (black)0.8%

Color previews

#b577fd text on a black background

contrast 7.02:1

Card sample

#b577fd text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b577fd

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.

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

#b577fd, answered

What color is #b577fd?

#b577fd is a light electric violet, closest to Medium Purple (ΔE2000 7.4). It sits at 268° on the hue wheel with 97% saturation and 73% lightness, which reads as cool.

What is the RGB value of #b577fd?

rgb(181, 119, 253) — 181 red, 119 green and 253 blue out of 255, or 71% / 46.7% / 99.2% by channel.

Is #b577fd a light or a dark color?

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

Should I use black or white text on #b577fd?

Black. It scores 7.02:1 against #b577fd, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #b577fd?

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

What colors go well with #b577fd?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #A1CC00 as an accent and #3B027E for hover and pressed states. For a palette, the analogous pair #777CFD and #F877FD stays calm, while #BFFD77 is the loudest partner.

What is #b577fd in CMYK for printing?

cmyk(29%, 53%, 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 #b577fd 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 #E677FD; nudged cooler, #8375FE.

Work with #b577fd in the Color Lab