#9b84cf
a light, soft violet · cool · closest name: Medium Purple
At a glance
Every number on this page in one read: what #9b84cf is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #9b84cf |
| RGB | rgb(155, 132, 207) |
| HSL | hsl(258, 44%, 67%) |
| CMYK | cmyk(25%, 36%, 0%, 19%) |
| LAB | lab(59.9 24.5 -35.6) |
| LCH | lch(59.9 43.2 304.6) |
| OKLCH | oklch(0.664 0.111 297.4) |
| Decimal | 10192079 |
| Display P3 | color(display-p3 0.608 0.518 0.812) |
Copy-ready code
/* CSS */
color: #9b84cf;
background-color: #9b84cf;
/* Tailwind (arbitrary) */
class="text-[#9b84cf] bg-[#9b84cf]"
/* SCSS */
$brand: #9b84cf;
/* SwiftUI */
Color(red: 0.608, green: 0.518, blue: 0.812)
/* Android */
Color.parseColor("#9b84cf")
/* Flutter */
Color(0xFF9B84CF)
/* Python / OpenCV (BGR) */
(207, 132, 155)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. #9b84cf 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: #F6F5FA;
--brand-100: #EEEAF5;
--brand-200: #D9D1EB;
--brand-300: #BDAEE0;
--brand-400: #9b84cf;
--brand-500: #7C5EC0;
--brand-600: #6645B0;
--brand-700: #553993;
--brand-800: #442E75;
--brand-900: #342456;
--brand-950: #201736;
--brand: #9b84cf;
--brand-ink: #000000;
}Colors that work with #9b84cf
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 #9b84cf
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
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠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 | #B8CF84 | Directly opposite — maximum tension | |
| Analogous left | #8493CF | Neighbour, quieter | |
| Analogous right | #C184CF | Neighbour, quieter | |
| Split-complement 1 | #CFC184 | Contrast without the clash | |
| Split-complement 2 | #93CF84 | Contrast without the clash | |
| Triadic 1 | #CF9B84 | Even thirds — balanced and loud | |
| Triadic 2 | #84CF9B | Even thirds — balanced and loud | |
| Tetradic | #CF8493 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#9b84cf text on a black background
contrast 6.60:1
#9b84cf text on a white background
contrast 3.18:1
CSS3 live lab
The quick brown fox
color: #9b84cf;
background-color: #9b84cf;
Glowing headline
text-shadow: 2px 2px 8px #9b84cf;
Soft neon halo
text-shadow: 0 0 14px rgba(155, 132, 207, 0.45);
box-shadow: 0 12px 32px -8px rgba(155, 132, 207, 0.45);
border: 3px solid #9b84cf; background: linear-gradient(135deg, #9b84cf, #CD84CF);
Monochromatic scale
Palettes built from #9b84cf
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: Periwinkle Blue (#8f99fb) — ΔE2000 11.1 away, with its history, psychology and brand usage.
#9b84cf 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.
#9b84cf, answered
What color is #9b84cf?
#9b84cf is a light soft violet, closest to Medium Purple (ΔE2000 7.1). It sits at 258° on the hue wheel with 44% saturation and 67% lightness, which reads as cool.
What is the RGB value of #9b84cf?
rgb(155, 132, 207) — 155 red, 132 green and 207 blue out of 255, or 60.8% / 51.8% / 81.2% by channel.
Is #9b84cf a light or a dark color?
It is a mid-tone. Relative luminance is 0.2798 and perceived brightness is 59%, so black text on it reaches 6.60:1.
Should I use black or white text on #9b84cf?
Black. It scores 6.60:1 against #9b84cf, versus 3.18:1 for white — AA at any size.
What is the complementary color of #9b84cf?
#B8CF84 sits directly opposite on the wheel. Softer options are the split-complements #CFC184 and #93CF84, which give the same contrast with far less vibration.
What colors go well with #9b84cf?
For interface work: #F6F4FA as the surface, #CFC4E8 for borders, #634B9B for secondary text, #929636 as an accent and #35245C for hover and pressed states. For a palette, the analogous pair #8493CF and #C184CF stays calm, while #B8CF84 is the loudest partner.
What is #9b84cf in CMYK for printing?
cmyk(25%, 36%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #9b84cf warm or cool?
Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B784CF; nudged cooler, #8287D1.