Skip to content

#af9dcd

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

RGB
175, 157, 205
HSL
263°, 32%, 71%
CMYK
15, 23, 0, 20
Luminance
0.3764

At a glance

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

Hex
#af9dcd
Hue
263°
violet
Saturation
32%
soft
Lightness
71%
light
Brightness
80%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3764
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.53:1
Closest name
Plum
ΔE2000 10.1
Where it sits
Hue263° of 360°
Saturation32%
Lightness71%
Temperature
Warm ← → Cool69% 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#af9dcd
RGBrgb(175, 157, 205)
HSLhsl(263, 32%, 71%)
CMYKcmyk(15%, 23%, 0%, 20%)
LABlab(67.8 16.0 -22.1)
LCHlch(67.8 27.3 305.9)
OKLCHoklch(0.728 0.071 301.8)
Decimal11509197
Display P3color(display-p3 0.686 0.616 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9dcd on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#af9dcd on black: 8.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94A5CF
deuteranopia · #97A5CC
tritanopia · #AAA4AE

Color scale — 50 to 950

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

#F7F5F9
#EFECF4
#DBD4E7
#C2B5D9
#af9dcd
#866AB3
#7053A2
#5E4587
#4B376C
#392B4F
#231B32
Base = 400Lightest = 50 · #F7F5F9Darkest = 950 · #231B32
:root {
  --brand-50: #F7F5F9;
  --brand-100: #EFECF4;
  --brand-200: #DBD4E7;
  --brand-300: #C2B5D9;
  --brand-400: #af9dcd;
  --brand-500: #866AB3;
  --brand-600: #7053A2;
  --brand-700: #5E4587;
  --brand-800: #4B376C;
  --brand-900: #392B4F;
  --brand-950: #231B32;
  --brand: #af9dcd;
  --brand-ink: #000000;
}

Colors that work with #af9dcd

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#D3C9E3
Hairlines and dividers
Muted text#694E98
Captions on the surface
Accent#828B41
Second voice, not a rival
Dark variant#3B2B54
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 #af9dcd

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#BBCD9D
Analogous left#9DA3CD
Analogous right#C79DCD
Split-complement 1#CDC79D
Split-complement 2#A3CD9D
Triadic 1#CDAF9D
Triadic 2#9DCDAF
Tetradic#CD9DA3

RGB percentages

Red68.6%
Green61.6%
Blue80.4%

CMYK percentages

Cyan14.6%
Magenta23.4%
Yellow0.0%
Key (black)19.6%

Color previews

#af9dcd text on a black background

contrast 8.53:1

Card sample

#af9dcd text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9dcd

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.

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

#af9dcd, answered

What color is #af9dcd?

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

What is the RGB value of #af9dcd?

rgb(175, 157, 205) — 175 red, 157 green and 205 blue out of 255, or 68.6% / 61.6% / 80.4% by channel.

Is #af9dcd a light or a dark color?

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

Should I use black or white text on #af9dcd?

Black. It scores 8.53:1 against #af9dcd, versus 2.46:1 for white — AAA at any size.

What is the complementary color of #af9dcd?

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

What colors go well with #af9dcd?

For interface work: #F7F5FA as the surface, #D3C9E3 for borders, #694E98 for secondary text, #828B41 as an accent and #3B2B54 for hover and pressed states. For a palette, the analogous pair #9DA3CD and #C79DCD stays calm, while #BBCD9D is the loudest partner.

What is #af9dcd in CMYK for printing?

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

Is #af9dcd warm or cool?

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

Work with #af9dcd in the Color Lab