#9c6eb2
a balanced, soft violet · cool · closest name: Medium Purple
At a glance
Every number on this page in one read: what #9c6eb2 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 | #9c6eb2 |
| RGB | rgb(156, 110, 178) |
| HSL | hsl(281, 31%, 57%) |
| CMYK | cmyk(12%, 38%, 0%, 30%) |
| LAB | lab(53.4 30.8 -29.1) |
| LCH | lch(53.4 42.3 316.6) |
| OKLCH | oklch(0.611 0.112 314.3) |
| Decimal | 10251954 |
| Display P3 | color(display-p3 0.612 0.431 0.698) |
Copy-ready code
/* CSS */
color: #9c6eb2;
background-color: #9c6eb2;
/* Tailwind (arbitrary) */
class="text-[#9c6eb2] bg-[#9c6eb2]"
/* SCSS */
$brand: #9c6eb2;
/* SwiftUI */
Color(red: 0.612, green: 0.431, blue: 0.698)
/* Android */
Color.parseColor("#9c6eb2")
/* Flutter */
Color(0xFF9C6EB2)
/* Python / OpenCV (BGR) */
(178, 110, 156)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. #9c6eb2 is pinned to step 500; 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: #F1ECF3;
--brand-200: #E1D5E7;
--brand-300: #CDB6D8;
--brand-400: #B491C5;
--brand-500: #9c6eb2;
--brand-600: #8855A0;
--brand-700: #714785;
--brand-800: #5A396B;
--brand-900: #432C4E;
--brand-950: #2A1B31;
--brand: #9c6eb2;
--brand-ink: #000000;
}Colors that work with #9c6eb2
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 #9c6eb2
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 | #84B26E | Directly opposite — maximum tension | |
| Analogous left | #7A6EB2 | Neighbour, quieter | |
| Analogous right | #B26EA6 | Neighbour, quieter | |
| Split-complement 1 | #A6B26E | Contrast without the clash | |
| Split-complement 2 | #6EB27A | Contrast without the clash | |
| Triadic 1 | #B29C6E | Even thirds — balanced and loud | |
| Triadic 2 | #6EB29C | Even thirds — balanced and loud | |
| Tetradic | #B27A6E | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#9c6eb2 text on a black background
contrast 5.29:1
#9c6eb2 text on a white background
contrast 3.97:1
CSS3 live lab
The quick brown fox
color: #9c6eb2;
background-color: #9c6eb2;
Glowing headline
text-shadow: 2px 2px 8px #9c6eb2;
Soft neon halo
text-shadow: 0 0 14px rgba(156, 110, 178, 0.45);
box-shadow: 0 12px 32px -8px rgba(156, 110, 178, 0.45);
border: 3px solid #9c6eb2; background: linear-gradient(135deg, #9c6eb2, #B26E9B);
Monochromatic scale
Palettes built from #9c6eb2
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: Orchid (#da70d6) — ΔE2000 12.1 away, with its history, psychology and brand usage.
#9c6eb2 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.
#9c6eb2, answered
What color is #9c6eb2?
#9c6eb2 is a balanced soft violet, closest to Medium Purple (ΔE2000 8.9). It sits at 281° on the hue wheel with 31% saturation and 57% lightness, which reads as cool.
What is the RGB value of #9c6eb2?
rgb(156, 110, 178) — 156 red, 110 green and 178 blue out of 255, or 61.2% / 43.1% / 69.8% by channel.
Is #9c6eb2 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2143 and perceived brightness is 53%, so black text on it reaches 5.29:1.
Should I use black or white text on #9c6eb2?
Black. It scores 5.29:1 against #9c6eb2, versus 3.97:1 for white — AA at any size.
What is the complementary color of #9c6eb2?
#84B26E sits directly opposite on the wheel. Softer options are the split-complements #A6B26E and #6EB27A, which give the same contrast with far less vibration.
What colors go well with #9c6eb2?
For interface work: #F8F5FA as the surface, #DBCAE3 for borders, #7F5096 for secondary text, #6B8943 as an accent and #472C53 for hover and pressed states. For a palette, the analogous pair #7A6EB2 and #B26EA6 stays calm, while #84B26E is the loudest partner.
What is #9c6eb2 in CMYK for printing?
cmyk(12%, 38%, 0%, 30%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #9c6eb2 warm or cool?
Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B26EAF; nudged cooler, #826CB4.