Skip to content

#b5afcc

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

RGB
181, 175, 204
HSL
252°, 22%, 74%
CMYK
11, 14, 0, 20
Luminance
0.4484

At a glance

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

Hex
#b5afcc
Hue
252°
blue
Saturation
22%
soft
Lightness
74%
light
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4484
WCAG relative
Temperature
Cool
67/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
9.97:1
Closest name
Thistle
ΔE2000 8.5
Where it sits
Hue252° of 360°
Saturation22%
Lightness74%
Temperature
Warm ← → Cool67% 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#b5afcc
RGBrgb(181, 175, 204)
HSLhsl(252, 22%, 74%)
CMYKcmyk(11%, 14%, 0%, 20%)
LABlab(72.8 7.8 -13.9)
LCHlch(72.8 15.9 299.3)
OKLCHoklch(0.768 0.041 294.9)
Decimal11907020
Display P3color(display-p3 0.710 0.686 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5afcc on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#b5afcc on black: 9.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A9B3CD
deuteranopia · #AAB2CB
tritanopia · #B1B3B8

Color scale — 50 to 950

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

#F7F6F9
#EEEDF2
#DAD7E4
#b5afcc
#A098BD
#8076A8
#6B5F95
#594F7D
#474064
#36314A
#221E2E
Base = 300Lightest = 50 · #F7F6F9Darkest = 950 · #221E2E
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EEEDF2;
  --brand-200: #DAD7E4;
  --brand-300: #b5afcc;
  --brand-400: #A098BD;
  --brand-500: #8076A8;
  --brand-600: #6B5F95;
  --brand-700: #594F7D;
  --brand-800: #474064;
  --brand-900: #36314A;
  --brand-950: #221E2E;
  --brand: #b5afcc;
  --brand-ink: #000000;
}

Colors that work with #b5afcc

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#F6F6F9
Tinted page background
Border#D1CDDF
Hairlines and dividers
Muted text#64598C
Captions on the surface
Accent#817E4B
Second voice, not a rival
Dark variant#37324E
Hover, pressed, headers
Light variant#F1EFF5
Selected rows, tints
Dark surface#181622
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 #b5afcc

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#C6CCAF
Analogous left#AFB7CC
Analogous right#C3AFCC
Split-complement 1#CCC3AF
Split-complement 2#B7CCAF
Triadic 1#CCB5AF
Triadic 2#AFCCB5
Tetradic#CCAFB7

RGB percentages

Red71.0%
Green68.6%
Blue80.0%

CMYK percentages

Cyan11.3%
Magenta14.2%
Yellow0.0%
Key (black)20.0%

Color previews

#b5afcc text on a black background

contrast 9.97:1

Card sample

#b5afcc text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5afcc

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.

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

#b5afcc, answered

What color is #b5afcc?

#b5afcc is a light soft blue, closest to Thistle (ΔE2000 8.5). It sits at 252° on the hue wheel with 22% saturation and 74% lightness, which reads as cool.

What is the RGB value of #b5afcc?

rgb(181, 175, 204) — 181 red, 175 green and 204 blue out of 255, or 71% / 68.6% / 80% by channel.

Is #b5afcc a light or a dark color?

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

Should I use black or white text on #b5afcc?

Black. It scores 9.97:1 against #b5afcc, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #b5afcc?

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

What colors go well with #b5afcc?

For interface work: #F6F6F9 as the surface, #D1CDDF for borders, #64598C for secondary text, #817E4B as an accent and #37324E for hover and pressed states. For a palette, the analogous pair #AFB7CC and #C3AFCC stays calm, while #C6CCAF is the loudest partner.

What is #b5afcc in CMYK for printing?

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

Is #b5afcc warm or cool?

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

Work with #b5afcc in the Color Lab