Skip to content

#bba2c7

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

RGB
187, 162, 199
HSL
281°, 25%, 71%
CMYK
6, 19, 0, 22
Luminance
0.4053

At a glance

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

Hex
#bba2c7
Hue
281°
violet
Saturation
25%
soft
Lightness
71%
light
Brightness
78%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4053
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
9.11:1
Closest name
Thistle
ΔE2000 8.5
Where it sits
Hue281° of 360°
Saturation25%
Lightness71%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#bba2c7
RGBrgb(187, 162, 199)
HSLhsl(281, 25%, 71%)
CMYKcmyk(6%, 19%, 0%, 22%)
LABlab(69.8 15.9 -15.5)
LCHlch(69.8 22.3 315.7)
OKLCHoklch(0.746 0.059 314.8)
Decimal12296903
Display P3color(display-p3 0.733 0.635 0.780)

Copy-ready code

/* CSS */
color: #bba2c7;
background-color: #bba2c7;
/* Tailwind (arbitrary) */
class="text-[#bba2c7] bg-[#bba2c7]"
/* SCSS */
$brand: #bba2c7;
/* SwiftUI */
Color(red: 0.733, green: 0.635, blue: 0.780)
/* Android */
Color.parseColor("#bba2c7")
/* Flutter */
Color(0xFFBBA2C7)
/* Python / OpenCV (BGR) */
(199, 162, 187)

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

Accessibility — WCAG contrast

Aa
#bba2c7 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#bba2c7 on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DA9C9
deuteranopia · #A2ABC6
tritanopia · #BBA6AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bba2c7 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F6F9
#F1EDF3
#E0D7E5
#CCB9D5
#bba2c7
#9973AB
#855C99
#6F4D7F
#593D66
#422F4B
#291E2F
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #291E2F
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1EDF3;
  --brand-200: #E0D7E5;
  --brand-300: #CCB9D5;
  --brand-400: #bba2c7;
  --brand-500: #9973AB;
  --brand-600: #855C99;
  --brand-700: #6F4D7F;
  --brand-800: #593D66;
  --brand-900: #422F4B;
  --brand-950: #291E2F;
  --brand: #bba2c7;
  --brand-ink: #000000;
}

Colors that work with #bba2c7

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#F8F5F9
Tinted page background
Border#DACCE0
Hairlines and dividers
Muted text#7D568F
Captions on the surface
Accent#6B8349
Second voice, not a rival
Dark variant#453050
Hover, pressed, headers
Light variant#F3EFF5
Selected rows, tints
Dark surface#1E1523
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 #bba2c7

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#AEC7A2
Analogous left#A9A2C7
Analogous right#C7A2C1
Split-complement 1#C1C7A2
Split-complement 2#A2C7A9
Triadic 1#C7BBA2
Triadic 2#A2C7BB
Tetradic#C7A9A2

RGB percentages

Red73.3%
Green63.5%
Blue78.0%

CMYK percentages

Cyan6.0%
Magenta18.6%
Yellow0.0%
Key (black)22.0%

Color previews

#bba2c7 text on a black background

contrast 9.11:1

Card sample

#bba2c7 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 162, 199, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 199, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2c7;
background: linear-gradient(135deg, #bba2c7, #C7A2BA);

Monochromatic scale

Palettes built from #bba2c7

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.

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

#bba2c7, answered

What color is #bba2c7?

#bba2c7 is a light soft violet, closest to Thistle (ΔE2000 8.5). It sits at 281° on the hue wheel with 25% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #bba2c7?

rgb(187, 162, 199) — 187 red, 162 green and 199 blue out of 255, or 73.3% / 63.5% / 78% by channel.

Is #bba2c7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4053 and perceived brightness is 68%, so black text on it reaches 9.11:1.

Should I use black or white text on #bba2c7?

Black. It scores 9.11:1 against #bba2c7, versus 2.31:1 for white — AAA at any size.

What is the complementary color of #bba2c7?

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

What colors go well with #bba2c7?

For interface work: #F8F5F9 as the surface, #DACCE0 for borders, #7D568F for secondary text, #6B8349 as an accent and #453050 for hover and pressed states. For a palette, the analogous pair #A9A2C7 and #C7A2C1 stays calm, while #AEC7A2 is the loudest partner.

What is #bba2c7 in CMYK for printing?

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

Is #bba2c7 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C7A2C5; nudged cooler, #ADA1C8.

Work with #bba2c7 in the Color Lab