Skip to content

#bab2cb

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

RGB
186, 178, 203
HSL
259°, 19%, 75%
CMYK
8, 12, 0, 20
Luminance
0.4659

At a glance

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

Hex
#bab2cb
Hue
259°
violet
Saturation
19%
soft
Lightness
75%
light
Brightness
80%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4659
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.32:1
Closest name
Thistle
ΔE2000 7.2
Where it sits
Hue259° of 360°
Saturation19%
Lightness75%
Temperature
Warm ← → Cool63% 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#bab2cb
RGBrgb(186, 178, 203)
HSLhsl(259, 19%, 75%)
CMYKcmyk(8%, 12%, 0%, 20%)
LABlab(73.9 7.6 -11.6)
LCHlch(73.9 13.9 303.3)
OKLCHoklch(0.778 0.036 300.1)
Decimal12235467
Display P3color(display-p3 0.729 0.698 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2cb on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#bab2cb on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEB6CC
deuteranopia · #AFB6CA
tritanopia · #B7B5BA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bab2cb 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
#EFEDF2
#DCD8E4
#bab2cb
#A59BBB
#8779A5
#726392
#5F527A
#4C4261
#393248
#241F2D
Base = 300Lightest = 50 · #F7F6F9Darkest = 950 · #241F2D
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EFEDF2;
  --brand-200: #DCD8E4;
  --brand-300: #bab2cb;
  --brand-400: #A59BBB;
  --brand-500: #8779A5;
  --brand-600: #726392;
  --brand-700: #5F527A;
  --brand-800: #4C4261;
  --brand-900: #393248;
  --brand-950: #241F2D;
  --brand: #bab2cb;
  --brand-ink: #000000;
}

Colors that work with #bab2cb

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#F7F6F9
Tinted page background
Border#D3CEDE
Hairlines and dividers
Muted text#6B5C89
Captions on the surface
Accent#7A7E4E
Second voice, not a rival
Dark variant#3B334C
Hover, pressed, headers
Light variant#F1F0F5
Selected rows, tints
Dark surface#1A1721
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 #bab2cb

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#C3CBB2
Analogous left#B2B6CB
Analogous right#C6B2CB
Split-complement 1#CBC6B2
Split-complement 2#B6CBB2
Triadic 1#CBBAB2
Triadic 2#B2CBBA
Tetradic#CBB2B6

RGB percentages

Red72.9%
Green69.8%
Blue79.6%

CMYK percentages

Cyan8.4%
Magenta12.3%
Yellow0.0%
Key (black)20.4%

Color previews

#bab2cb text on a black background

contrast 10.32:1

Card sample

#bab2cb text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2cb

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.

#bab2cb 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

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

#bab2cb, answered

What color is #bab2cb?

#bab2cb is a light soft violet, closest to Thistle (ΔE2000 7.2). It sits at 259° on the hue wheel with 19% saturation and 75% lightness, which reads as cool.

What is the RGB value of #bab2cb?

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

Is #bab2cb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4659 and perceived brightness is 72%, so black text on it reaches 10.32:1.

Should I use black or white text on #bab2cb?

Black. It scores 10.32:1 against #bab2cb, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #bab2cb?

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

What colors go well with #bab2cb?

For interface work: #F7F6F9 as the surface, #D3CEDE for borders, #6B5C89 for secondary text, #7A7E4E as an accent and #3B334C for hover and pressed states. For a palette, the analogous pair #B2B6CB and #C6B2CB stays calm, while #C3CBB2 is the loudest partner.

What is #bab2cb in CMYK for printing?

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

Is #bab2cb warm or cool?

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

Work with #bab2cb in the Color Lab