Skip to content

#bab2da

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

RGB
186, 178, 218
HSL
252°, 35%, 78%
CMYK
15, 18, 0, 15
Luminance
0.4734

At a glance

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

Hex
#bab2da
Hue
252°
blue
Saturation
35%
soft
Lightness
78%
light
Brightness
85%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4734
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
10.47:1
Closest name
Thistle
ΔE2000 8.6
Where it sits
Hue252° of 360°
Saturation35%
Lightness78%
Temperature
Warm ← → Cool77% 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#bab2da
RGBrgb(186, 178, 218)
HSLhsl(252, 35%, 78%)
CMYKcmyk(15%, 18%, 0%, 15%)
LABlab(74.4 10.7 -19.1)
LCHlch(74.4 21.9 299.4)
OKLCHoklch(0.783 0.057 294.2)
Decimal12235482
Display P3color(display-p3 0.729 0.698 0.855)

Copy-ready code

/* CSS */
color: #bab2da;
background-color: #bab2da;
/* Tailwind (arbitrary) */
class="text-[#bab2da] bg-[#bab2da]"
/* SCSS */
$brand: #bab2da;
/* SwiftUI */
Color(red: 0.729, green: 0.698, blue: 0.855)
/* Android */
Color.parseColor("#bab2da")
/* Flutter */
Color(0xFFBAB2DA)
/* Python / OpenCV (BGR) */
(218, 178, 186)

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

Accessibility — WCAG contrast

Aa
#bab2da on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#bab2da on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAB7DC
deuteranopia · #AAB6D9
tritanopia · #B4B8BF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bab2da 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
#D8D4E8
#bab2da
#998DC8
#7767B6
#614FA5
#51428A
#40356E
#312951
#1F1A33
Base = 300Lightest = 50 · #F6F5F9Darkest = 950 · #1F1A33
:root {
  --brand-50: #F6F5F9;
  --brand-100: #EDECF4;
  --brand-200: #D8D4E8;
  --brand-300: #bab2da;
  --brand-400: #998DC8;
  --brand-500: #7767B6;
  --brand-600: #614FA5;
  --brand-700: #51428A;
  --brand-800: #40356E;
  --brand-900: #312951;
  --brand-950: #1F1A33;
  --brand: #bab2da;
  --brand-ink: #000000;
}

Colors that work with #bab2da

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#F6F5FA
Tinted page background
Border#CEC8E5
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#8D8A3F
Second voice, not a rival
Dark variant#322956
Hover, pressed, headers
Light variant#F0EEF7
Selected rows, tints
Dark surface#171424
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 #bab2da

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#D2DAB2
Analogous left#B2BEDA
Analogous right#CEB2DA
Split-complement 1#DACEB2
Split-complement 2#BEDAB2
Triadic 1#DABAB2
Triadic 2#B2DABA
Tetradic#DAB2BE

RGB percentages

Red72.9%
Green69.8%
Blue85.5%

CMYK percentages

Cyan14.7%
Magenta18.3%
Yellow0.0%
Key (black)14.5%

Color previews

#bab2da text on a black background

contrast 10.47:1

Card sample

#bab2da text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2da

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.

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

#bab2da, answered

What color is #bab2da?

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

What is the RGB value of #bab2da?

rgb(186, 178, 218) — 186 red, 178 green and 218 blue out of 255, or 72.9% / 69.8% / 85.5% by channel.

Is #bab2da a light or a dark color?

It is a mid-tone. Relative luminance is 0.4734 and perceived brightness is 73%, so black text on it reaches 10.47:1.

Should I use black or white text on #bab2da?

Black. It scores 10.47:1 against #bab2da, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #bab2da?

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

What colors go well with #bab2da?

For interface work: #F6F5FA as the surface, #CEC8E5 for borders, #5B4B9B for secondary text, #8D8A3F as an accent and #322956 for hover and pressed states. For a palette, the analogous pair #B2BEDA and #CEB2DA stays calm, while #D2DAB2 is the loudest partner.

What is #bab2da in CMYK for printing?

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

Is #bab2da warm or cool?

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

Work with #bab2da in the Color Lab