Skip to content

#b197eb

a light, vivid violet · cool · closest name: Plum

RGB
177, 151, 235
HSL
259°, 68%, 76%
CMYK
25, 36, 0, 8
Luminance
0.3748

At a glance

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

Hex
#b197eb
Hue
259°
violet
Saturation
68%
vivid
Lightness
76%
light
Brightness
92%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3748
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.50:1
Closest name
Plum
ΔE2000 11.6
Where it sits
Hue259° of 360°
Saturation68%
Lightness76%
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#b197eb
RGBrgb(177, 151, 235)
HSLhsl(259, 68%, 76%)
CMYKcmyk(25%, 36%, 0%, 8%)
LABlab(67.6 26.9 -38.9)
LCHlch(67.6 47.2 304.6)
OKLCHoklch(0.732 0.122 297.6)
Decimal11638763
Display P3color(display-p3 0.694 0.592 0.922)

Copy-ready code

/* CSS */
color: #b197eb;
background-color: #b197eb;
/* Tailwind (arbitrary) */
class="text-[#b197eb] bg-[#b197eb]"
/* SCSS */
$brand: #b197eb;
/* SwiftUI */
Color(red: 0.694, green: 0.592, blue: 0.922)
/* Android */
Color.parseColor("#b197eb")
/* Flutter */
Color(0xFFB197EB)
/* Python / OpenCV (BGR) */
(235, 151, 177)

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

Accessibility — WCAG contrast

Aa
#b197eb on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#b197eb on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82A5EE
deuteranopia · #86A4E9
tritanopia · #A6A5B6

Color scale — 50 to 950

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

#F6F3FB
#EDE8F8
#D6CAF2
#b197eb
#9572E4
#7243DB
#5B28CD
#4C21AB
#3D1A89
#2F1763
#1D0E3E
Base = 300Lightest = 50 · #F6F3FBDarkest = 950 · #1D0E3E
:root {
  --brand-50: #F6F3FB;
  --brand-100: #EDE8F8;
  --brand-200: #D6CAF2;
  --brand-300: #b197eb;
  --brand-400: #9572E4;
  --brand-500: #7243DB;
  --brand-600: #5B28CD;
  --brand-700: #4C21AB;
  --brand-800: #3D1A89;
  --brand-900: #2F1763;
  --brand-950: #1D0E3E;
  --brand: #b197eb;
  --brand-ink: #000000;
}

Colors that work with #b197eb

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#CEC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#A6AE1E
Second voice, not a rival
Dark variant#2F156B
Hover, pressed, headers
Light variant#EFEAFB
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 #b197eb

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#D1EB97
Analogous left#97A7EB
Analogous right#DB97EB
Split-complement 1#EBDB97
Split-complement 2#A7EB97
Triadic 1#EBB197
Triadic 2#97EBB1
Tetradic#EB97A7

RGB percentages

Red69.4%
Green59.2%
Blue92.2%

CMYK percentages

Cyan24.7%
Magenta35.7%
Yellow0.0%
Key (black)7.8%

Color previews

#b197eb text on a black background

contrast 8.50:1

Card sample

#b197eb text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 151, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 151, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b197eb;
background: linear-gradient(135deg, #b197eb, #E997EB);

Monochromatic scale

Palettes built from #b197eb

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.

#b197eb 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

Converts to four-color process without much drama. Proof it anyway.

#b197eb, answered

What color is #b197eb?

#b197eb is a light vivid violet, closest to Plum (ΔE2000 11.6). It sits at 259° on the hue wheel with 68% saturation and 76% lightness, which reads as cool.

What is the RGB value of #b197eb?

rgb(177, 151, 235) — 177 red, 151 green and 235 blue out of 255, or 69.4% / 59.2% / 92.2% by channel.

Is #b197eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3748 and perceived brightness is 67%, so black text on it reaches 8.50:1.

Should I use black or white text on #b197eb?

Black. It scores 8.50:1 against #b197eb, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #b197eb?

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

What colors go well with #b197eb?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #634B9B for secondary text, #A6AE1E as an accent and #2F156B for hover and pressed states. For a palette, the analogous pair #97A7EB and #DB97EB stays calm, while #D1EB97 is the loudest partner.

What is #b197eb in CMYK for printing?

cmyk(25%, 36%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #b197eb 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 #D097EB; nudged cooler, #969BEC.

Work with #b197eb in the Color Lab