Skip to content

#b596fe

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

RGB
181, 150, 254
HSL
258°, 98%, 79%
CMYK
29, 41, 0, 0
Luminance
0.3879

At a glance

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

Hex
#b596fe
Hue
258°
violet
Saturation
98%
electric
Lightness
79%
light
Brightness
100%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3879
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.76:1
Closest name
Medium Purple
ΔE2000 11.8
Where it sits
Hue258° of 360°
Saturation98%
Lightness79%
Temperature
Warm ← → Cool73% 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#b596fe
RGBrgb(181, 150, 254)
HSLhsl(258, 98%, 79%)
CMYKcmyk(29%, 41%, 0%, 0%)
LABlab(68.6 33.1 -47.7)
LCHlch(68.6 58.1 304.7)
OKLCHoklch(0.743 0.149 296.3)
Decimal11900670
Display P3color(display-p3 0.710 0.588 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b596fe on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#b596fe on black: 8.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #78A8FF
deuteranopia · #7DA6FB
tritanopia · #A6A8BE

Color scale — 50 to 950

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

#F5F1FD
#EBE3FC
#D2C1FB
#b596fe
#8A58FD
#6221FD
#4A02F2
#3E02CA
#3102A2
#270674
#180449
Base = 300Lightest = 50 · #F5F1FDDarkest = 950 · #180449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE3FC;
  --brand-200: #D2C1FB;
  --brand-300: #b596fe;
  --brand-400: #8A58FD;
  --brand-500: #6221FD;
  --brand-600: #4A02F2;
  --brand-700: #3E02CA;
  --brand-800: #3102A2;
  --brand-900: #270674;
  --brand-950: #180449;
  --brand: #b596fe;
  --brand-ink: #000000;
}

Colors that work with #b596fe

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#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#C2CC00
Second voice, not a rival
Dark variant#27017E
Hover, pressed, headers
Light variant#EDE6FF
Selected rows, tints
Dark surface#191424
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 #b596fe

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#DFFE96
Analogous left#96ABFE
Analogous right#E996FE
Split-complement 1#FEE996
Split-complement 2#ABFE96
Triadic 1#FEB596
Triadic 2#96FEB5
Tetradic#FE96AB

RGB percentages

Red71.0%
Green58.8%
Blue99.6%

CMYK percentages

Cyan28.7%
Magenta40.9%
Yellow0.0%
Key (black)0.4%

Color previews

#b596fe text on a black background

contrast 8.76:1

Card sample

#b596fe text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b596fe

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.

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

#b596fe, answered

What color is #b596fe?

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

What is the RGB value of #b596fe?

rgb(181, 150, 254) — 181 red, 150 green and 254 blue out of 255, or 71% / 58.8% / 99.6% by channel.

Is #b596fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.3879 and perceived brightness is 68%, so black text on it reaches 8.76:1.

Should I use black or white text on #b596fe?

Black. It scores 8.76:1 against #b596fe, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #b596fe?

#DFFE96 sits directly opposite on the wheel. Softer options are the split-complements #FEE996 and #ABFE96, which give the same contrast with far less vibration.

What colors go well with #b596fe?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #634B9B for secondary text, #C2CC00 as an accent and #27017E for hover and pressed states. For a palette, the analogous pair #96ABFE and #E996FE stays calm, while #DFFE96 is the loudest partner.

What is #b596fe in CMYK for printing?

cmyk(29%, 41%, 0%, 0%). 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 #b596fe warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DB96FE; nudged cooler, #959CFF.

Work with #b596fe in the Color Lab