Skip to content

#afabd1

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

RGB
175, 171, 209
HSL
246°, 29%, 75%
CMYK
16, 18, 0, 18
Luminance
0.4284

At a glance

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

Hex
#afabd1
Hue
246°
blue
Saturation
29%
soft
Lightness
75%
light
Brightness
82%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4284
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
9.57:1
Closest name
Thistle
ΔE2000 10.5
Where it sits
Hue246° of 360°
Saturation29%
Lightness75%
Temperature
Warm ← → Cool75% 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#afabd1
RGBrgb(175, 171, 209)
HSLhsl(246, 29%, 75%)
CMYKcmyk(16%, 18%, 0%, 18%)
LABlab(71.5 9.1 -18.7)
LCHlch(71.5 20.8 296.0)
OKLCHoklch(0.757 0.054 289.9)
Decimal11512785
Display P3color(display-p3 0.686 0.671 0.820)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afabd1 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#afabd1 on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A2B0D3
deuteranopia · #A2AED0
tritanopia · #A8B1B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afabd1 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
#EDECF3
#D7D5E6
#afabd1
#9792C3
#756EB0
#5E579E
#4E4884
#3F3A69
#302D4E
#1E1C31
Base = 300Lightest = 50 · #F6F6F9Darkest = 950 · #1E1C31
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EDECF3;
  --brand-200: #D7D5E6;
  --brand-300: #afabd1;
  --brand-400: #9792C3;
  --brand-500: #756EB0;
  --brand-600: #5E579E;
  --brand-700: #4E4884;
  --brand-800: #3F3A69;
  --brand-900: #302D4E;
  --brand-950: #1E1C31;
  --brand: #afabd1;
  --brand-ink: #000000;
}

Colors that work with #afabd1

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#CDCAE2
Hairlines and dividers
Muted text#585194
Captions on the surface
Accent#887E44
Second voice, not a rival
Dark variant#312D52
Hover, pressed, headers
Light variant#EFEFF6
Selected rows, tints
Dark surface#161424
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 #afabd1

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#CDD1AB
Analogous left#ABBAD1
Analogous right#C2ABD1
Split-complement 1#D1C2AB
Split-complement 2#BAD1AB
Triadic 1#D1AFAB
Triadic 2#ABD1AF
Tetradic#D1ABBA

RGB percentages

Red68.6%
Green67.1%
Blue82.0%

CMYK percentages

Cyan16.3%
Magenta18.2%
Yellow0.0%
Key (black)18.0%

Color previews

#afabd1 text on a black background

contrast 9.57:1

Card sample

#afabd1 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabd1

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.

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

#afabd1, answered

What color is #afabd1?

#afabd1 is a light soft blue, closest to Thistle (ΔE2000 10.5). It sits at 246° on the hue wheel with 29% saturation and 75% lightness, which reads as cool.

What is the RGB value of #afabd1?

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

Is #afabd1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4284 and perceived brightness is 69%, so black text on it reaches 9.57:1.

Should I use black or white text on #afabd1?

Black. It scores 9.57:1 against #afabd1, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #afabd1?

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

What colors go well with #afabd1?

For interface work: #F6F5FA as the surface, #CDCAE2 for borders, #585194 for secondary text, #887E44 as an accent and #312D52 for hover and pressed states. For a palette, the analogous pair #ABBAD1 and #C2ABD1 stays calm, while #CDD1AB is the loudest partner.

What is #afabd1 in CMYK for printing?

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

Is #afabd1 warm or cool?

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

Work with #afabd1 in the Color Lab