Skip to content

#af9cba

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

RGB
175, 156, 186
HSL
278°, 18%, 67%
CMYK
6, 16, 0, 27
Luminance
0.3644

At a glance

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

Hex
#af9cba
Hue
278°
violet
Saturation
18%
soft
Lightness
67%
light
Brightness
73%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3644
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.29:1
Closest name
Thistle
ΔE2000 10.2
Where it sits
Hue278° of 360°
Saturation18%
Lightness67%
Temperature
Warm ← → Cool56% 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#af9cba
RGBrgb(175, 156, 186)
HSLhsl(278, 18%, 67%)
CMYKcmyk(6%, 16%, 0%, 27%)
LABlab(66.8 12.6 -12.9)
LCHlch(66.8 18.1 314.3)
OKLCHoklch(0.719 0.048 313.2)
Decimal11508922
Display P3color(display-p3 0.686 0.612 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9cba on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#af9cba on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98A2BB
deuteranopia · #9CA3B9
tritanopia · #AE9FA6

Color scale — 50 to 950

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

#F8F6F8
#F0EEF2
#DFD9E3
#CABDD1
#af9cba
#947BA3
#806490
#6B5478
#554360
#403347
#28202D
Base = 400Lightest = 50 · #F8F6F8Darkest = 950 · #28202D
:root {
  --brand-50: #F8F6F8;
  --brand-100: #F0EEF2;
  --brand-200: #DFD9E3;
  --brand-300: #CABDD1;
  --brand-400: #af9cba;
  --brand-500: #947BA3;
  --brand-600: #806490;
  --brand-700: #6B5478;
  --brand-800: #554360;
  --brand-900: #403347;
  --brand-950: #28202D;
  --brand: #af9cba;
  --brand-ink: #000000;
}

Colors that work with #af9cba

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#F8F6F9
Tinted page background
Border#D8CFDE
Hairlines and dividers
Muted text#785E87
Captions on the surface
Accent#6B7C50
Second voice, not a rival
Dark variant#43344B
Hover, pressed, headers
Light variant#F3F0F5
Selected rows, tints
Dark surface#1D1721
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 #af9cba

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#A7BA9C
Analogous left#A09CBA
Analogous right#BA9CB6
Split-complement 1#B6BA9C
Split-complement 2#9CBAA0
Triadic 1#BAAF9C
Triadic 2#9CBAAF
Tetradic#BAA09C

RGB percentages

Red68.6%
Green61.2%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta16.1%
Yellow0.0%
Key (black)27.1%

Color previews

#af9cba text on a black background

contrast 8.29:1

Card sample

#af9cba text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9cba

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.

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

#af9cba, answered

What color is #af9cba?

#af9cba is a light soft violet, closest to Thistle (ΔE2000 10.2). It sits at 278° on the hue wheel with 18% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #af9cba?

rgb(175, 156, 186) — 175 red, 156 green and 186 blue out of 255, or 68.6% / 61.2% / 72.9% by channel.

Is #af9cba a light or a dark color?

It is a mid-tone. Relative luminance is 0.3644 and perceived brightness is 65%, so black text on it reaches 8.29:1.

Should I use black or white text on #af9cba?

Black. It scores 8.29:1 against #af9cba, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #af9cba?

#A7BA9C sits directly opposite on the wheel. Softer options are the split-complements #B6BA9C and #9CBAA0, which give the same contrast with far less vibration.

What colors go well with #af9cba?

For interface work: #F8F6F9 as the surface, #D8CFDE for borders, #785E87 for secondary text, #6B7C50 as an accent and #43344B for hover and pressed states. For a palette, the analogous pair #A09CBA and #BA9CB6 stays calm, while #A7BA9C is the loudest partner.

What is #af9cba in CMYK for printing?

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

Is #af9cba warm or cool?

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

Work with #af9cba in the Color Lab