Skip to content

#af8bc3

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

RGB
175, 139, 195
HSL
279°, 32%, 66%
CMYK
10, 29, 0, 24
Luminance
0.3152

At a glance

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

Hex
#af8bc3
Hue
279°
violet
Saturation
32%
soft
Lightness
66%
light
Brightness
76%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3152
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.30:1
Closest name
Plum
ΔE2000 9.5
Where it sits
Hue279° of 360°
Saturation32%
Lightness66%
Temperature
Warm ← → Cool61% 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#af8bc3
RGBrgb(175, 139, 195)
HSLhsl(279, 32%, 66%)
CMYKcmyk(10%, 29%, 0%, 24%)
LABlab(62.9 24.0 -23.9)
LCHlch(62.9 33.9 315.1)
OKLCHoklch(0.690 0.089 313.2)
Decimal11504579
Display P3color(display-p3 0.686 0.545 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af8bc3 on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#af8bc3 on black: 7.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8396C5
deuteranopia · #8A99C1
tritanopia · #AE929F

Color scale — 50 to 950

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

#F8F5F9
#F1ECF3
#E1D5E7
#CCB5D9
#af8bc3
#996BB2
#8653A1
#6F4686
#59386C
#422B4F
#291B31
Base = 400Lightest = 50 · #F8F5F9Darkest = 950 · #291B31
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1ECF3;
  --brand-200: #E1D5E7;
  --brand-300: #CCB5D9;
  --brand-400: #af8bc3;
  --brand-500: #996BB2;
  --brand-600: #8653A1;
  --brand-700: #6F4686;
  --brand-800: #59386C;
  --brand-900: #422B4F;
  --brand-950: #291B31;
  --brand: #af8bc3;
  --brand-ink: #000000;
}

Colors that work with #af8bc3

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#F8F5FA
Tinted page background
Border#DAC9E3
Hairlines and dividers
Muted text#7D4E97
Captions on the surface
Accent#6E8B41
Second voice, not a rival
Dark variant#462B54
Hover, pressed, headers
Light variant#F3EEF6
Selected rows, tints
Dark surface#1E1424
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 #af8bc3

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#9FC38B
Analogous left#938BC3
Analogous right#C38BBB
Split-complement 1#BBC38B
Split-complement 2#8BC393
Triadic 1#C3AF8B
Triadic 2#8BC3AF
Tetradic#C3938B

RGB percentages

Red68.6%
Green54.5%
Blue76.5%

CMYK percentages

Cyan10.3%
Magenta28.7%
Yellow0.0%
Key (black)23.5%

Color previews

#af8bc3 text on a black background

contrast 7.30:1

Card sample

#af8bc3 text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af8bc3

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.

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

#af8bc3, answered

What color is #af8bc3?

#af8bc3 is a light soft violet, closest to Plum (ΔE2000 9.5). It sits at 279° on the hue wheel with 32% saturation and 66% lightness, which reads as cool.

What is the RGB value of #af8bc3?

rgb(175, 139, 195) — 175 red, 139 green and 195 blue out of 255, or 68.6% / 54.5% / 76.5% by channel.

Is #af8bc3 a light or a dark color?

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

Should I use black or white text on #af8bc3?

Black. It scores 7.30:1 against #af8bc3, versus 2.88:1 for white — AAA at any size.

What is the complementary color of #af8bc3?

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

What colors go well with #af8bc3?

For interface work: #F8F5FA as the surface, #DAC9E3 for borders, #7D4E97 for secondary text, #6E8B41 as an accent and #462B54 for hover and pressed states. For a palette, the analogous pair #938BC3 and #C38BBB stays calm, while #9FC38B is the loudest partner.

What is #af8bc3 in CMYK for printing?

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

Is #af8bc3 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C38BC2; nudged cooler, #9A89C5.

Work with #af8bc3 in the Color Lab