Skip to content

#b1afda

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

RGB
177, 175, 218
HSL
243°, 37%, 77%
CMYK
19, 20, 0, 15
Luminance
0.4507

At a glance

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

Hex
#b1afda
Hue
243°
blue
Saturation
37%
soft
Lightness
77%
light
Brightness
85%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4507
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.01:1
Closest name
Thistle
ΔE2000 11
Where it sits
Hue243° of 360°
Saturation37%
Lightness77%
Temperature
Warm ← → Cool82% 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#b1afda
RGBrgb(177, 175, 218)
HSLhsl(243, 37%, 77%)
CMYKcmyk(19%, 20%, 0%, 15%)
LABlab(72.9 9.5 -21.4)
LCHlch(72.9 23.4 294.1)
OKLCHoklch(0.770 0.061 287.0)
Decimal11644890
Display P3color(display-p3 0.694 0.686 0.855)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b1afda on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#b1afda on black: 10.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A5B4DC
deuteranopia · #A4B2D9
tritanopia · #A8B6BD

Color scale — 50 to 950

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

#F5F5FA
#ECEBF4
#D4D3E9
#b1afda
#8F8CCA
#6966B8
#524DA7
#44408C
#363470
#2A2852
#1B1933
Base = 300Lightest = 50 · #F5F5FADarkest = 950 · #1B1933
:root {
  --brand-50: #F5F5FA;
  --brand-100: #ECEBF4;
  --brand-200: #D4D3E9;
  --brand-300: #b1afda;
  --brand-400: #8F8CCA;
  --brand-500: #6966B8;
  --brand-600: #524DA7;
  --brand-700: #44408C;
  --brand-800: #363470;
  --brand-900: #2A2852;
  --brand-950: #1B1933;
  --brand: #b1afda;
  --brand-ink: #000000;
}

Colors that work with #b1afda

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#C9C7E5
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#8F7F3D
Second voice, not a rival
Dark variant#2A2857
Hover, pressed, headers
Light variant#EEEEF7
Selected rows, tints
Dark surface#141424
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 #b1afda

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#D8DAAF
Analogous left#AFC3DA
Analogous right#C7AFDA
Split-complement 1#DAC7AF
Split-complement 2#C3DAAF
Triadic 1#DAB1AF
Triadic 2#AFDAB1
Tetradic#DAAFC3

RGB percentages

Red69.4%
Green68.6%
Blue85.5%

CMYK percentages

Cyan18.8%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#b1afda text on a black background

contrast 10.01:1

Card sample

#b1afda text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b1afda

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.

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

#b1afda, answered

What color is #b1afda?

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

What is the RGB value of #b1afda?

rgb(177, 175, 218) — 177 red, 175 green and 218 blue out of 255, or 69.4% / 68.6% / 85.5% by channel.

Is #b1afda a light or a dark color?

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

Should I use black or white text on #b1afda?

Black. It scores 10.01:1 against #b1afda, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #b1afda?

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

What colors go well with #b1afda?

For interface work: #F5F5FA as the surface, #C9C7E5 for borders, #4E4B9B for secondary text, #8F7F3D as an accent and #2A2857 for hover and pressed states. For a palette, the analogous pair #AFC3DA and #C7AFDA stays calm, while #D8DAAF is the loudest partner.

What is #b1afda in CMYK for printing?

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

Is #b1afda warm or cool?

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

Work with #b1afda in the Color Lab