Skip to content

#af8cbd

a balanced, soft violet · neutral · closest name: Plum

RGB
175, 140, 189
HSL
283°, 27%, 65%
CMYK
7, 26, 0, 26
Luminance
0.3154

At a glance

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

Hex
#af8cbd
Hue
283°
violet
Saturation
27%
soft
Lightness
65%
balanced
Brightness
74%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3154
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.31:1
Closest name
Plum
ΔE2000 9.6
Where it sits
Hue283° of 360°
Saturation27%
Lightness65%
Temperature
Warm ← → Cool57% 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#af8cbd
RGBrgb(175, 140, 189)
HSLhsl(283, 27%, 65%)
CMYKcmyk(7%, 26%, 0%, 26%)
LABlab(63.0 22.2 -20.5)
LCHlch(63.0 30.2 317.3)
OKLCHoklch(0.689 0.080 316.2)
Decimal11504829
Display P3color(display-p3 0.686 0.549 0.741)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8cbd on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#af8cbd on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8696BF
deuteranopia · #8D99BB
tritanopia · #AF929D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af8cbd 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
#F1ECF3
#E1D6E6
#CDB8D6
#af8cbd
#9C70AD
#89599C
#724A82
#5B3B68
#442E4C
#2A1D30
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #2A1D30
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1ECF3;
  --brand-200: #E1D6E6;
  --brand-300: #CDB8D6;
  --brand-400: #af8cbd;
  --brand-500: #9C70AD;
  --brand-600: #89599C;
  --brand-700: #724A82;
  --brand-800: #5B3B68;
  --brand-900: #442E4C;
  --brand-950: #2A1D30;
  --brand: #af8cbd;
  --brand-ink: #000000;
}

Colors that work with #af8cbd

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#DBCBE1
Hairlines and dividers
Muted text#805492
Captions on the surface
Accent#688646
Second voice, not a rival
Dark variant#472E51
Hover, pressed, headers
Light variant#F4EFF6
Selected rows, tints
Dark surface#1F1424
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 #af8cbd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#9ABD8C
Analogous left#968CBD
Analogous right#BD8CB2
Split-complement 1#B2BD8C
Split-complement 2#8CBD96
Triadic 1#BDAF8C
Triadic 2#8CBDAF
Tetradic#BD968C

RGB percentages

Red68.6%
Green54.9%
Blue74.1%

CMYK percentages

Cyan7.4%
Magenta25.9%
Yellow0.0%
Key (black)25.9%

Color previews

#af8cbd text on a black background

contrast 7.31:1

Card sample

#af8cbd text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8cbd

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.

#af8cbd 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#af8cbd, answered

What color is #af8cbd?

#af8cbd is a balanced soft violet, closest to Plum (ΔE2000 9.6). It sits at 283° on the hue wheel with 27% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #af8cbd?

rgb(175, 140, 189) — 175 red, 140 green and 189 blue out of 255, or 68.6% / 54.9% / 74.1% by channel.

Is #af8cbd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3154 and perceived brightness is 62%, so black text on it reaches 7.31:1.

Should I use black or white text on #af8cbd?

Black. It scores 7.31:1 against #af8cbd, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #af8cbd?

#9ABD8C sits directly opposite on the wheel. Softer options are the split-complements #B2BD8C and #8CBD96, which give the same contrast with far less vibration.

What colors go well with #af8cbd?

For interface work: #F8F5F9 as the surface, #DBCBE1 for borders, #805492 for secondary text, #688646 as an accent and #472E51 for hover and pressed states. For a palette, the analogous pair #968CBD and #BD8CB2 stays calm, while #9ABD8C is the loudest partner.

What is #af8cbd in CMYK for printing?

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

Is #af8cbd warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BD8CB9; nudged cooler, #9C8ABF.

Work with #af8cbd in the Color Lab