Skip to content

#afabda

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

RGB
175, 171, 218
HSL
245°, 39%, 76%
CMYK
20, 22, 0, 15
Luminance
0.4330

At a glance

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

Hex
#afabda
Hue
245°
blue
Saturation
39%
soft
Lightness
76%
light
Brightness
85%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4330
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
9.66:1
Closest name
Thistle
ΔE2000 11.6
Where it sits
Hue245° of 360°
Saturation39%
Lightness76%
Temperature
Warm ← → Cool80% 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#afabda
RGBrgb(175, 171, 218)
HSLhsl(245, 39%, 76%)
CMYKcmyk(20%, 22%, 0%, 15%)
LABlab(71.8 11.1 -23.2)
LCHlch(71.8 25.7 295.6)
OKLCHoklch(0.761 0.067 288.6)
Decimal11512794
Display P3color(display-p3 0.686 0.671 0.855)

Copy-ready code

/* CSS */
color: #afabda;
background-color: #afabda;
/* Tailwind (arbitrary) */
class="text-[#afabda] bg-[#afabda]"
/* SCSS */
$brand: #afabda;
/* SwiftUI */
Color(red: 0.686, green: 0.671, blue: 0.855)
/* Android */
Color.parseColor("#afabda")
/* Flutter */
Color(0xFFAFABDA)
/* Python / OpenCV (BGR) */
(218, 171, 175)

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

Accessibility — WCAG contrast

Aa
#afabda on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#afabda on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A0B1DC
deuteranopia · #9FAFD9
tritanopia · #A6B3BB

Color scale — 50 to 950

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

#F5F5FA
#ECEBF4
#D4D3E9
#afabda
#908ACC
#6B63BA
#534BAA
#453E8E
#373271
#2B2753
#1B1934
Base = 300Lightest = 50 · #F5F5FADarkest = 950 · #1B1934
:root {
  --brand-50: #F5F5FA;
  --brand-100: #ECEBF4;
  --brand-200: #D4D3E9;
  --brand-300: #afabda;
  --brand-400: #908ACC;
  --brand-500: #6B63BA;
  --brand-600: #534BAA;
  --brand-700: #453E8E;
  --brand-800: #373271;
  --brand-900: #2B2753;
  --brand-950: #1B1934;
  --brand: #afabda;
  --brand-ink: #000000;
}

Colors that work with #afabda

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#F5F4FA
Tinted page background
Border#C9C6E6
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#91833B
Second voice, not a rival
Dark variant#2B2758
Hover, pressed, headers
Light variant#EEEDF7
Selected rows, tints
Dark surface#151424
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 #afabda

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#D6DAAB
Analogous left#ABBFDA
Analogous right#C7ABDA
Split-complement 1#DAC7AB
Split-complement 2#BFDAAB
Triadic 1#DAAFAB
Triadic 2#ABDAAF
Tetradic#DAABBF

RGB percentages

Red68.6%
Green67.1%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta21.6%
Yellow0.0%
Key (black)14.5%

Color previews

#afabda text on a black background

contrast 9.66:1

Card sample

#afabda text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabda

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.

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

#afabda, answered

What color is #afabda?

#afabda is a light soft blue, closest to Thistle (ΔE2000 11.6). It sits at 245° on the hue wheel with 39% saturation and 76% lightness, which reads as cool.

What is the RGB value of #afabda?

rgb(175, 171, 218) — 175 red, 171 green and 218 blue out of 255, or 68.6% / 67.1% / 85.5% by channel.

Is #afabda a light or a dark color?

It is a mid-tone. Relative luminance is 0.4330 and perceived brightness is 70%, so black text on it reaches 9.66:1.

Should I use black or white text on #afabda?

Black. It scores 9.66:1 against #afabda, versus 2.17:1 for white — AAA at any size.

What is the complementary color of #afabda?

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

What colors go well with #afabda?

For interface work: #F5F4FA as the surface, #C9C6E6 for borders, #514B9B for secondary text, #91833B as an accent and #2B2758 for hover and pressed states. For a palette, the analogous pair #ABBFDA and #C7ABDA stays calm, while #D6DAAB is the loudest partner.

What is #afabda in CMYK for printing?

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

Is #afabda warm or cool?

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

Work with #afabda in the Color Lab