Skip to content

#b49afd

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

RGB
180, 154, 253
HSL
256°, 96%, 80%
CMYK
29, 39, 0, 1
Luminance
0.3991

At a glance

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

Hex
#b49afd
Hue
256°
violet
Saturation
96%
electric
Lightness
80%
light
Brightness
99%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3991
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.98:1
Closest name
Medium Purple
ΔE2000 12.5
Where it sits
Hue256° of 360°
Saturation96%
Lightness80%
Temperature
Warm ← → Cool75% 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#b49afd
RGBrgb(180, 154, 253)
HSLhsl(256, 96%, 80%)
CMYKcmyk(29%, 39%, 0%, 1%)
LABlab(69.4 30.3 -45.9)
LCHlch(69.4 55.0 303.5)
OKLCHoklch(0.748 0.141 294.8)
Decimal11836157
Display P3color(display-p3 0.706 0.604 0.992)

Copy-ready code

/* CSS */
color: #b49afd;
background-color: #b49afd;
/* Tailwind (arbitrary) */
class="text-[#b49afd] bg-[#b49afd]"
/* SCSS */
$brand: #b49afd;
/* SwiftUI */
Color(red: 0.706, green: 0.604, blue: 0.992)
/* Android */
Color.parseColor("#b49afd")
/* Flutter */
Color(0xFFB49AFD)
/* Python / OpenCV (BGR) */
(253, 154, 180)

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

Accessibility — WCAG contrast

Aa
#b49afd on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#b49afd on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7EAAFF
deuteranopia · #82A8FA
tritanopia · #A4ACC0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b49afd 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
#EAE4FC
#D0C1FA
#b49afd
#855AFC
#5C23FB
#4305F0
#3804C8
#2C03A0
#240773
#160448
Base = 300Lightest = 50 · #F5F1FDDarkest = 950 · #160448
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EAE4FC;
  --brand-200: #D0C1FA;
  --brand-300: #b49afd;
  --brand-400: #855AFC;
  --brand-500: #5C23FB;
  --brand-600: #4305F0;
  --brand-700: #3804C8;
  --brand-800: #2C03A0;
  --brand-900: #240773;
  --brand-950: #160448;
  --brand: #b49afd;
  --brand-ink: #000000;
}

Colors that work with #b49afd

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#CCC0ED
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#CACC00
Second voice, not a rival
Dark variant#23027D
Hover, pressed, headers
Light variant#ECE6FF
Selected rows, tints
Dark surface#181424
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 #b49afd

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#E3FD9A
Analogous left#9AB1FD
Analogous right#E69AFD
Split-complement 1#FDE69A
Split-complement 2#B1FD9A
Triadic 1#FDB49A
Triadic 2#9AFDB4
Tetradic#FD9AB1

RGB percentages

Red70.6%
Green60.4%
Blue99.2%

CMYK percentages

Cyan28.9%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#b49afd text on a black background

contrast 8.98:1

Card sample

#b49afd text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b49afd

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.

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

#b49afd, answered

What color is #b49afd?

#b49afd is a light electric violet, closest to Medium Purple (ΔE2000 12.5). It sits at 256° on the hue wheel with 96% saturation and 80% lightness, which reads as cool.

What is the RGB value of #b49afd?

rgb(180, 154, 253) — 180 red, 154 green and 253 blue out of 255, or 70.6% / 60.4% / 99.2% by channel.

Is #b49afd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3991 and perceived brightness is 69%, so black text on it reaches 8.98:1.

Should I use black or white text on #b49afd?

Black. It scores 8.98:1 against #b49afd, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #b49afd?

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

What colors go well with #b49afd?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #CACC00 as an accent and #23027D for hover and pressed states. For a palette, the analogous pair #9AB1FD and #E69AFD stays calm, while #E3FD9A is the loudest partner.

What is #b49afd in CMYK for printing?

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

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D89AFD; nudged cooler, #99A3FE.

Work with #b49afd in the Color Lab