Skip to content

#af9fcb

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

RGB
175, 159, 203
HSL
262°, 30%, 71%
CMYK
14, 22, 0, 20
Luminance
0.3822

At a glance

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

Hex
#af9fcb
Hue
262°
violet
Saturation
30%
soft
Lightness
71%
light
Brightness
80%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3822
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.64:1
Closest name
Plum
ΔE2000 10.4
Where it sits
Hue262° of 360°
Saturation30%
Lightness71%
Temperature
Warm ← → Cool68% 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#af9fcb
RGBrgb(175, 159, 203)
HSLhsl(262, 30%, 71%)
CMYKcmyk(14%, 22%, 0%, 20%)
LABlab(68.2 14.5 -20.4)
LCHlch(68.2 25.0 305.4)
OKLCHoklch(0.731 0.065 301.4)
Decimal11509707
Display P3color(display-p3 0.686 0.624 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9fcb on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#af9fcb on black: 8.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97A6CD
deuteranopia · #99A6CA
tritanopia · #ABA5AE

Color scale — 50 to 950

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

#F7F6F9
#EFECF3
#DBD5E7
#C2B6D8
#af9fcb
#866DB0
#70569F
#5E4884
#4B396A
#392C4E
#231C31
Base = 400Lightest = 50 · #F7F6F9Darkest = 950 · #231C31
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EFECF3;
  --brand-200: #DBD5E7;
  --brand-300: #C2B6D8;
  --brand-400: #af9fcb;
  --brand-500: #866DB0;
  --brand-600: #70569F;
  --brand-700: #5E4884;
  --brand-800: #4B396A;
  --brand-900: #392C4E;
  --brand-950: #231C31;
  --brand: #af9fcb;
  --brand-ink: #000000;
}

Colors that work with #af9fcb

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#F7F5FA
Tinted page background
Border#D3CAE2
Hairlines and dividers
Muted text#695195
Captions on the surface
Accent#808844
Second voice, not a rival
Dark variant#3B2D53
Hover, pressed, headers
Light variant#F1EEF6
Selected rows, tints
Dark surface#1A1424
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 #af9fcb

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#BBCB9F
Analogous left#9FA5CB
Analogous right#C59FCB
Split-complement 1#CBC59F
Split-complement 2#A5CB9F
Triadic 1#CBAF9F
Triadic 2#9FCBAF
Tetradic#CB9FA5

RGB percentages

Red68.6%
Green62.4%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta21.7%
Yellow0.0%
Key (black)20.4%

Color previews

#af9fcb text on a black background

contrast 8.64:1

Card sample

#af9fcb text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9fcb

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.

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

#af9fcb, answered

What color is #af9fcb?

#af9fcb is a light soft violet, closest to Plum (ΔE2000 10.4). It sits at 262° on the hue wheel with 30% saturation and 71% lightness, which reads as cool.

What is the RGB value of #af9fcb?

rgb(175, 159, 203) — 175 red, 159 green and 203 blue out of 255, or 68.6% / 62.4% / 79.6% by channel.

Is #af9fcb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3822 and perceived brightness is 66%, so black text on it reaches 8.64:1.

Should I use black or white text on #af9fcb?

Black. It scores 8.64:1 against #af9fcb, versus 2.43:1 for white — AAA at any size.

What is the complementary color of #af9fcb?

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

What colors go well with #af9fcb?

For interface work: #F7F5FA as the surface, #D3CAE2 for borders, #695195 for secondary text, #808844 as an accent and #3B2D53 for hover and pressed states. For a palette, the analogous pair #9FA5CB and #C59FCB stays calm, while #BBCB9F is the loudest partner.

What is #af9fcb in CMYK for printing?

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

Is #af9fcb warm or cool?

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

Work with #af9fcb in the Color Lab