Skip to content

#b8afd3

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

RGB
184, 175, 211
HSL
255°, 29%, 76%
CMYK
13, 17, 0, 17
Luminance
0.4555

At a glance

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

Hex
#b8afd3
Hue
255°
violet
Saturation
29%
soft
Lightness
76%
light
Brightness
83%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4555
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.11:1
Closest name
Thistle
ΔE2000 8.2
Where it sits
Hue255° of 360°
Saturation29%
Lightness76%
Temperature
Warm ← → Cool71% 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#b8afd3
RGBrgb(184, 175, 211)
HSLhsl(255, 29%, 76%)
CMYKcmyk(13%, 17%, 0%, 17%)
LABlab(73.3 10.3 -17.0)
LCHlch(73.3 19.9 301.1)
OKLCHoklch(0.773 0.052 296.6)
Decimal12103635
Display P3color(display-p3 0.722 0.686 0.827)

Copy-ready code

/* CSS */
color: #b8afd3;
background-color: #b8afd3;
/* Tailwind (arbitrary) */
class="text-[#b8afd3] bg-[#b8afd3]"
/* SCSS */
$brand: #b8afd3;
/* SwiftUI */
Color(red: 0.722, green: 0.686, blue: 0.827)
/* Android */
Color.parseColor("#b8afd3")
/* Flutter */
Color(0xFFB8AFD3)
/* Python / OpenCV (BGR) */
(211, 175, 184)

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

Accessibility — WCAG contrast

Aa
#b8afd3 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#b8afd3 on black: 10.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A8B4D5
deuteranopia · #A9B3D2
tritanopia · #B3B4BB

Color scale — 50 to 950

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

#F6F6F9
#EEECF3
#DAD5E6
#b8afd3
#9F92C3
#7F6EAF
#69579E
#574884
#463A69
#352D4E
#211C30
Base = 300Lightest = 50 · #F6F6F9Darkest = 950 · #211C30
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EEECF3;
  --brand-200: #DAD5E6;
  --brand-300: #b8afd3;
  --brand-400: #9F92C3;
  --brand-500: #7F6EAF;
  --brand-600: #69579E;
  --brand-700: #574884;
  --brand-800: #463A69;
  --brand-900: #352D4E;
  --brand-950: #211C30;
  --brand: #b8afd3;
  --brand-ink: #000000;
}

Colors that work with #b8afd3

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#D0CAE2
Hairlines and dividers
Muted text#625194
Captions on the surface
Accent#878745
Second voice, not a rival
Dark variant#372D52
Hover, pressed, headers
Light variant#F0EFF6
Selected rows, tints
Dark surface#181424
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 #b8afd3

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#CAD3AF
Analogous left#AFB8D3
Analogous right#CAAFD3
Split-complement 1#D3CAAF
Split-complement 2#B8D3AF
Triadic 1#D3B8AF
Triadic 2#AFD3B8
Tetradic#D3AFB8

RGB percentages

Red72.2%
Green68.6%
Blue82.7%

CMYK percentages

Cyan12.8%
Magenta17.1%
Yellow0.0%
Key (black)17.3%

Color previews

#b8afd3 text on a black background

contrast 10.11:1

Card sample

#b8afd3 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b8afd3

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.

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

#b8afd3, answered

What color is #b8afd3?

#b8afd3 is a light soft violet, closest to Thistle (ΔE2000 8.2). It sits at 255° on the hue wheel with 29% saturation and 76% lightness, which reads as cool.

What is the RGB value of #b8afd3?

rgb(184, 175, 211) — 184 red, 175 green and 211 blue out of 255, or 72.2% / 68.6% / 82.7% by channel.

Is #b8afd3 a light or a dark color?

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

Should I use black or white text on #b8afd3?

Black. It scores 10.11:1 against #b8afd3, versus 2.08:1 for white — AAA at any size.

What is the complementary color of #b8afd3?

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

What colors go well with #b8afd3?

For interface work: #F6F5FA as the surface, #D0CAE2 for borders, #625194 for secondary text, #878745 as an accent and #372D52 for hover and pressed states. For a palette, the analogous pair #AFB8D3 and #CAAFD3 stays calm, while #CAD3AF is the loudest partner.

What is #b8afd3 in CMYK for printing?

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

Is #b8afd3 warm or cool?

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

Work with #b8afd3 in the Color Lab