Skip to content

#af84cc

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

RGB
175, 132, 204
HSL
276°, 41%, 66%
CMYK
14, 35, 0, 20
Luminance
0.2998

At a glance

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

Hex
#af84cc
Hue
276°
violet
Saturation
41%
soft
Lightness
66%
light
Brightness
80%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2998
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.00:1
Closest name
Orchid
ΔE2000 9.5
Where it sits
Hue276° of 360°
Saturation41%
Lightness66%
Temperature
Warm ← → Cool63% 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#af84cc
RGBrgb(175, 132, 204)
HSLhsl(276, 41%, 66%)
CMYKcmyk(14%, 35%, 0%, 20%)
LABlab(61.6 29.9 -31.0)
LCHlch(61.6 43.1 314.0)
OKLCHoklch(0.681 0.113 311.0)
Decimal11502796
Display P3color(display-p3 0.686 0.518 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af84cc on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#af84cc on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7793CF
deuteranopia · #8196CA
tritanopia · #AC8E9F

Color scale — 50 to 950

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

#F8F5FA
#F1EBF5
#E0D2EA
#CBB0DE
#af84cc
#9860BD
#8448AD
#6E3C90
#583073
#422655
#291835
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #291835
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F1EBF5;
  --brand-200: #E0D2EA;
  --brand-300: #CBB0DE;
  --brand-400: #af84cc;
  --brand-500: #9860BD;
  --brand-600: #8448AD;
  --brand-700: #6E3C90;
  --brand-800: #583073;
  --brand-900: #422655;
  --brand-950: #291835;
  --brand: #af84cc;
  --brand-ink: #000000;
}

Colors that work with #af84cc

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#F8F4FA
Tinted page background
Border#D9C5E7
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#749537
Second voice, not a rival
Dark variant#45255A
Hover, pressed, headers
Light variant#F3EDF8
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 #af84cc

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#A1CC84
Analogous left#8B84CC
Analogous right#CC84C5
Split-complement 1#C5CC84
Split-complement 2#84CC8B
Triadic 1#CCAF84
Triadic 2#84CCAF
Tetradic#CC8B84

RGB percentages

Red68.6%
Green51.8%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta35.3%
Yellow0.0%
Key (black)20.0%

Color previews

#af84cc text on a black background

contrast 7.00:1

Card sample

#af84cc text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af84cc

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.

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

#af84cc, answered

What color is #af84cc?

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

What is the RGB value of #af84cc?

rgb(175, 132, 204) — 175 red, 132 green and 204 blue out of 255, or 68.6% / 51.8% / 80% by channel.

Is #af84cc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2998 and perceived brightness is 61%, so black text on it reaches 7.00:1.

Should I use black or white text on #af84cc?

Black. It scores 7.00:1 against #af84cc, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #af84cc?

#A1CC84 sits directly opposite on the wheel. Softer options are the split-complements #C5CC84 and #84CC8B, which give the same contrast with far less vibration.

What colors go well with #af84cc?

For interface work: #F8F4FA as the surface, #D9C5E7 for borders, #7B4B9B for secondary text, #749537 as an accent and #45255A for hover and pressed states. For a palette, the analogous pair #8B84CC and #CC84C5 stays calm, while #A1CC84 is the loudest partner.

What is #af84cc in CMYK for printing?

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

Is #af84cc warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C984CC; nudged cooler, #9482CE.

Work with #af84cc in the Color Lab