#af84ba
a balanced, soft violet · neutral · closest name: Orchid
At a glance
Every number on this page in one read: what #af84ba is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #af84ba |
| RGB | rgb(175, 132, 186) |
| HSL | hsl(288, 28%, 62%) |
| CMYK | cmyk(6%, 29%, 0%, 27%) |
| LAB | lab(60.9 26.1 -21.9) |
| LCH | lch(60.9 34.1 320.0) |
| OKLCH | oklch(0.673 0.091 319.3) |
| Decimal | 11502778 |
| Display P3 | color(display-p3 0.686 0.518 0.729) |
Copy-ready code
/* CSS */
color: #af84ba;
background-color: #af84ba;
/* Tailwind (arbitrary) */
class="text-[#af84ba] bg-[#af84ba]"
/* SCSS */
$brand: #af84ba;
/* SwiftUI */
Color(red: 0.686, green: 0.518, blue: 0.729)
/* Android */
Color.parseColor("#af84ba")
/* Flutter */
Color(0xFFAF84BA)
/* Python / OpenCV (BGR) */
(186, 132, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #af84ba 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.
:root {
--brand-50: #F8F6F9;
--brand-100: #F2ECF3;
--brand-200: #E3D6E6;
--brand-300: #D0B7D7;
--brand-400: #af84ba;
--brand-500: #A26FAE;
--brand-600: #8F589D;
--brand-700: #774983;
--brand-800: #5F3B69;
--brand-900: #472D4D;
--brand-950: #2C1C30;
--brand: #af84ba;
--brand-ink: #000000;
}Colors that work with #af84ba
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af84ba
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #8FBA84 | Directly opposite — maximum tension | |
| Analogous left | #9484BA | Neighbour, quieter | |
| Analogous right | #BA84AA | Neighbour, quieter | |
| Split-complement 1 | #AABA84 | Contrast without the clash | |
| Split-complement 2 | #84BA94 | Contrast without the clash | |
| Triadic 1 | #BAAF84 | Even thirds — balanced and loud | |
| Triadic 2 | #84BAAF | Even thirds — balanced and loud | |
| Tetradic | #BA9484 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af84ba text on a black background
contrast 6.83:1
#af84ba text on a white background
contrast 3.07:1
CSS3 live lab
The quick brown fox
color: #af84ba;
background-color: #af84ba;
Glowing headline
text-shadow: 2px 2px 8px #af84ba;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 132, 186, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 132, 186, 0.45);
border: 3px solid #af84ba; background: linear-gradient(135deg, #af84ba, #BA84A1);
Monochromatic scale
Palettes built from #af84ba
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.
Closest color with a full write-up: Lilac (#c8a2c8) — ΔE2000 9.3 away, with its history, psychology and brand usage.
#af84ba in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#af84ba, answered
What color is #af84ba?
#af84ba is a balanced soft violet, closest to Orchid (ΔE2000 10.3). It sits at 288° on the hue wheel with 28% saturation and 62% lightness, which reads as neutral.
What is the RGB value of #af84ba?
rgb(175, 132, 186) — 175 red, 132 green and 186 blue out of 255, or 68.6% / 51.8% / 72.9% by channel.
Is #af84ba a light or a dark color?
It is a mid-tone. Relative luminance is 0.2916 and perceived brightness is 60%, so black text on it reaches 6.83:1.
Should I use black or white text on #af84ba?
Black. It scores 6.83:1 against #af84ba, versus 3.07:1 for white — AA at any size.
What is the complementary color of #af84ba?
#8FBA84 sits directly opposite on the wheel. Softer options are the split-complements #AABA84 and #84BA94, which give the same contrast with far less vibration.
What colors go well with #af84ba?
For interface work: #F9F5F9 as the surface, #DDCBE2 for borders, #865393 for secondary text, #638745 as an accent and #4A2E52 for hover and pressed states. For a palette, the analogous pair #9484BA and #BA84AA stays calm, while #8FBA84 is the loudest partner.
What is #af84ba in CMYK for printing?
cmyk(6%, 29%, 0%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af84ba warm or cool?
Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA84B1; nudged cooler, #9B82BC.