Skip to content

#b4afd7

a light, soft blue · cool · closest name: Thistle

RGB
180, 175, 215
HSL
248°, 33%, 77%
CMYK
16, 19, 0, 16
Luminance
0.4527

At a glance

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

Hex
#b4afd7
Hue
248°
blue
Saturation
33%
soft
Lightness
77%
light
Brightness
84%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4527
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.05:1
Closest name
Thistle
ΔE2000 9.8
Where it sits
Hue248° of 360°
Saturation33%
Lightness77%
Temperature
Warm ← → Cool78% 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#b4afd7
RGBrgb(180, 175, 215)
HSLhsl(248, 33%, 77%)
CMYKcmyk(16%, 19%, 0%, 16%)
LABlab(73.1 9.8 -19.5)
LCHlch(73.1 21.8 296.7)
OKLCHoklch(0.771 0.057 290.7)
Decimal11841495
Display P3color(display-p3 0.706 0.686 0.843)

Copy-ready code

/* CSS */
color: #b4afd7;
background-color: #b4afd7;
/* Tailwind (arbitrary) */
class="text-[#b4afd7] bg-[#b4afd7]"
/* SCSS */
$brand: #b4afd7;
/* SwiftUI */
Color(red: 0.706, green: 0.686, blue: 0.843)
/* Android */
Color.parseColor("#b4afd7")
/* Flutter */
Color(0xFFB4AFD7)
/* Python / OpenCV (BGR) */
(215, 175, 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 #b4afd7 · 10.05:1
Use #000000AAA at every size.
Aa
White text · 2.09:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.05:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b4afd7 as text scores 2.09:1 on white and 10.05:1 on black.

Accessibility — WCAG contrast

Aa
#b4afd7 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#b4afd7 on black: 10.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A6B4D9
deuteranopia · #A6B3D6
tritanopia · #ADB5BC

Color scale — 50 to 950

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

#F6F5F9
#EDECF4
#D7D4E8
#b4afd7
#968FC7
#7369B4
#5C52A3
#4D4488
#3D366D
#2F2A50
#1D1B32
Base = 300Lightest = 50 · #F6F5F9Darkest = 950 · #1D1B32
:root {
  --brand-50: #F6F5F9;
  --brand-100: #EDECF4;
  --brand-200: #D7D4E8;
  --brand-300: #b4afd7;
  --brand-400: #968FC7;
  --brand-500: #7369B4;
  --brand-600: #5C52A3;
  --brand-700: #4D4488;
  --brand-800: #3D366D;
  --brand-900: #2F2A50;
  --brand-950: #1D1B32;
  --brand: #b4afd7;
  --brand-ink: #000000;
}

Colors that work with #b4afd7

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#F5F5FA
Tinted page background
Border#CCC9E4
Hairlines and dividers
Muted text#564D99
Captions on the surface
Accent#8B8341
Second voice, not a rival
Dark variant#302B55
Hover, pressed, headers
Light variant#EFEEF6
Selected rows, tints
Dark surface#161424
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 #b4afd7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#D2D7AF
Analogous left#AFBED7
Analogous right#C8AFD7
Split-complement 1#D7C8AF
Split-complement 2#BED7AF
Triadic 1#D7B4AF
Triadic 2#AFD7B4
Tetradic#D7AFBE

RGB percentages

Red70.6%
Green68.6%
Blue84.3%

CMYK percentages

Cyan16.3%
Magenta18.6%
Yellow0.0%
Key (black)15.7%

Color previews

#b4afd7 text on a black background

contrast 10.05:1

Card sample

#b4afd7 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4afd7

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.

#b4afd7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#b4afd7, answered

What color is #b4afd7?

#b4afd7 is a light soft blue, closest to Thistle (ΔE2000 9.8). It sits at 248° on the hue wheel with 33% saturation and 77% lightness, which reads as cool.

What is the RGB value of #b4afd7?

rgb(180, 175, 215) — 180 red, 175 green and 215 blue out of 255, or 70.6% / 68.6% / 84.3% by channel.

Is #b4afd7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4527 and perceived brightness is 71%, so black text on it reaches 10.05:1.

Should I use black or white text on #b4afd7?

Black. It scores 10.05:1 against #b4afd7, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #b4afd7?

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

What colors go well with #b4afd7?

For interface work: #F5F5FA as the surface, #CCC9E4 for borders, #564D99 for secondary text, #8B8341 as an accent and #302B55 for hover and pressed states. For a palette, the analogous pair #AFBED7 and #C8AFD7 stays calm, while #D2D7AF is the loudest partner.

What is #b4afd7 in CMYK for printing?

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

Is #b4afd7 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C3AFD7; nudged cooler, #AEB8D8.

Work with #b4afd7 in the Color Lab