Skip to content

#b588ff

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

RGB
181, 136, 255
HSL
263°, 100%, 77%
CMYK
29, 47, 0, 0
Luminance
0.3465

At a glance

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

Hex
#b588ff
Hue
263°
violet
Saturation
100%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3465
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.93:1
Closest name
Medium Purple
ΔE2000 9.3
Where it sits
Hue263° of 360°
Saturation100%
Lightness77%
Temperature
Warm ← → Cool71% 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#b588ff
RGBrgb(181, 136, 255)
HSLhsl(263, 100%, 77%)
CMYKcmyk(29%, 47%, 0%, 0%)
LABlab(65.5 41.1 -53.2)
LCHlch(65.5 67.2 307.7)
OKLCHoklch(0.719 0.172 299.5)
Decimal11897087
Display P3color(display-p3 0.710 0.533 1.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b588ff on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#b588ff on black: 7.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #639FFF
deuteranopia · #6D9EFC
tritanopia · #A69EB7

Color scale — 50 to 950

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

#F6F1FE
#EDE3FC
#D7C0FC
#b588ff
#9657FF
#731FFF
#5D00F5
#4D00CC
#3E00A3
#2F0576
#1E0349
Base = 300Lightest = 50 · #F6F1FEDarkest = 950 · #1E0349
:root {
  --brand-50: #F6F1FE;
  --brand-100: #EDE3FC;
  --brand-200: #D7C0FC;
  --brand-300: #b588ff;
  --brand-400: #9657FF;
  --brand-500: #731FFF;
  --brand-600: #5D00F5;
  --brand-700: #4D00CC;
  --brand-800: #3E00A3;
  --brand-900: #2F0576;
  --brand-950: #1E0349;
  --brand: #b588ff;
  --brand-ink: #000000;
}

Colors that work with #b588ff

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#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#B2CC00
Second voice, not a rival
Dark variant#300080
Hover, pressed, headers
Light variant#EFE5FF
Selected rows, tints
Dark surface#1A1424
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 #b588ff

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#D2FF88
Analogous left#8897FF
Analogous right#F188FF
Split-complement 1#FFF188
Split-complement 2#97FF88
Triadic 1#FFB588
Triadic 2#88FFB5
Tetradic#FF8897

RGB percentages

Red71.0%
Green53.3%
Blue100.0%

CMYK percentages

Cyan29.0%
Magenta46.7%
Yellow0.0%
Key (black)0.0%

Color previews

#b588ff text on a black background

contrast 7.93:1

Card sample

#b588ff text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b588ff

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.

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

#b588ff, answered

What color is #b588ff?

#b588ff is a light electric violet, closest to Medium Purple (ΔE2000 9.3). It sits at 263° on the hue wheel with 100% saturation and 77% lightness, which reads as cool.

What is the RGB value of #b588ff?

rgb(181, 136, 255) — 181 red, 136 green and 255 blue out of 255, or 71% / 53.3% / 100% by channel.

Is #b588ff a light or a dark color?

It is a mid-tone. Relative luminance is 0.3465 and perceived brightness is 66%, so black text on it reaches 7.93:1.

Should I use black or white text on #b588ff?

Black. It scores 7.93:1 against #b588ff, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #b588ff?

#D2FF88 sits directly opposite on the wheel. Softer options are the split-complements #FFF188 and #97FF88, which give the same contrast with far less vibration.

What colors go well with #b588ff?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #B2CC00 as an accent and #300080 for hover and pressed states. For a palette, the analogous pair #8897FF and #F188FF stays calm, while #D2FF88 is the loudest partner.

What is #b588ff in CMYK for printing?

cmyk(29%, 47%, 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 #b588ff warm or cool?

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

Work with #b588ff in the Color Lab