Skip to content

#af9ac8

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

RGB
175, 154, 200
HSL
267°, 30%, 69%
CMYK
13, 23, 0, 22
Luminance
0.3640

At a glance

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

Hex
#af9ac8
Hue
267°
violet
Saturation
30%
soft
Lightness
69%
light
Brightness
78%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3640
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.28:1
Closest name
Plum
ΔE2000 9.7
Where it sits
Hue267° of 360°
Saturation30%
Lightness69%
Temperature
Warm ← → Cool65% 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#af9ac8
RGBrgb(175, 154, 200)
HSLhsl(267, 30%, 69%)
CMYKcmyk(13%, 23%, 0%, 22%)
LABlab(66.8 16.6 -20.8)
LCHlch(66.8 26.6 308.7)
OKLCHoklch(0.720 0.070 305.5)
Decimal11508424
Display P3color(display-p3 0.686 0.604 0.784)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9ac8 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#af9ac8 on black: 8.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92A2CA
deuteranopia · #96A3C7
tritanopia · #ACA0AA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af9ac8 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
#DDD5E6
#C5B6D7
#af9ac8
#8C6EB0
#77569F
#634884
#503A6A
#3C2D4E
#251C31
Base = 400Lightest = 50 · #F7F6F9Darkest = 950 · #251C31
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EFECF3;
  --brand-200: #DDD5E6;
  --brand-300: #C5B6D7;
  --brand-400: #af9ac8;
  --brand-500: #8C6EB0;
  --brand-600: #77569F;
  --brand-700: #634884;
  --brand-800: #503A6A;
  --brand-900: #3C2D4E;
  --brand-950: #251C31;
  --brand: #af9ac8;
  --brand-ink: #000000;
}

Colors that work with #af9ac8

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#D5CAE2
Hairlines and dividers
Muted text#705195
Captions on the surface
Accent#7A8844
Second voice, not a rival
Dark variant#3E2D53
Hover, pressed, headers
Light variant#F2EEF6
Selected rows, tints
Dark surface#1B1424
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 #af9ac8

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#B3C89A
Analogous left#9A9CC8
Analogous right#C69AC8
Split-complement 1#C8C69A
Split-complement 2#9CC89A
Triadic 1#C8AF9A
Triadic 2#9AC8AF
Tetradic#C89A9C

RGB percentages

Red68.6%
Green60.4%
Blue78.4%

CMYK percentages

Cyan12.5%
Magenta23.0%
Yellow0.0%
Key (black)21.6%

Color previews

#af9ac8 text on a black background

contrast 8.28:1

Card sample

#af9ac8 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9ac8

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.

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

#af9ac8, answered

What color is #af9ac8?

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

What is the RGB value of #af9ac8?

rgb(175, 154, 200) — 175 red, 154 green and 200 blue out of 255, or 68.6% / 60.4% / 78.4% by channel.

Is #af9ac8 a light or a dark color?

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

Should I use black or white text on #af9ac8?

Black. It scores 8.28:1 against #af9ac8, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #af9ac8?

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

What colors go well with #af9ac8?

For interface work: #F7F5FA as the surface, #D5CAE2 for borders, #705195 for secondary text, #7A8844 as an accent and #3E2D53 for hover and pressed states. For a palette, the analogous pair #9A9CC8 and #C69AC8 stays calm, while #B3C89A is the loudest partner.

What is #af9ac8 in CMYK for printing?

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

Is #af9ac8 warm or cool?

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

Work with #af9ac8 in the Color Lab