#aa46df
a balanced, vivid violet · cool · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #aa46df 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 | #aa46df |
| RGB | rgb(170, 70, 223) |
| HSL | hsl(279, 71%, 58%) |
| CMYK | cmyk(24%, 69%, 0%, 13%) |
| LAB | lab(49.8 64.5 -60.5) |
| LCH | lch(49.8 88.4 316.8) |
| OKLCH | oklch(0.596 0.228 311.4) |
| Decimal | 11159263 |
| Display P3 | color(display-p3 0.667 0.275 0.875) |
Copy-ready code
/* CSS */
color: #aa46df;
background-color: #aa46df;
/* Tailwind (arbitrary) */
class="text-[#aa46df] bg-[#aa46df]"
/* SCSS */
$brand: #aa46df;
/* SwiftUI */
Color(red: 0.667, green: 0.275, blue: 0.875)
/* Android */
Color.parseColor("#aa46df")
/* Flutter */
Color(0xFFAA46DF)
/* Python / OpenCV (BGR) */
(223, 70, 170)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. #aa46df 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: #F9F3FC;
--brand-100: #F2E7F8;
--brand-200: #E4C9F2;
--brand-300: #D39FEE;
--brand-400: #BD70E6;
--brand-500: #aa46df;
--brand-600: #9524D1;
--brand-700: #7C1EAE;
--brand-800: #63188B;
--brand-900: #491665;
--brand-950: #2E0D3F;
--brand: #aa46df;
--brand-ink: #000000;
}Colors that work with #aa46df
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 #aa46df
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #7BDF46 | Directly opposite — maximum tension | |
| Analogous left | #5E46DF | Neighbour, quieter | |
| Analogous right | #DF46C8 | Neighbour, quieter | |
| Split-complement 1 | #C8DF46 | Contrast without the clash | |
| Split-complement 2 | #46DF5E | Contrast without the clash | |
| Triadic 1 | #DFAA46 | Even thirds — balanced and loud | |
| Triadic 2 | #46DFAA | Even thirds — balanced and loud | |
| Tetradic | #DF5E46 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#aa46df text on a black background
contrast 4.65:1
#aa46df text on a white background
contrast 4.52:1
CSS3 live lab
The quick brown fox
color: #aa46df;
background-color: #aa46df;
Glowing headline
text-shadow: 2px 2px 8px #aa46df;
Soft neon halo
text-shadow: 0 0 14px rgba(170, 70, 223, 0.45);
box-shadow: 0 12px 32px -8px rgba(170, 70, 223, 0.45);
border: 3px solid #aa46df; background: linear-gradient(135deg, #aa46df, #DF46AE);
Monochromatic scale
Palettes built from #aa46df
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: Magenta (#ff00ff) — ΔE2000 13.3 away, with its history, psychology and brand usage.
#aa46df 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.
#aa46df, answered
What color is #aa46df?
#aa46df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 5.5). It sits at 279° on the hue wheel with 71% saturation and 58% lightness, which reads as cool.
What is the RGB value of #aa46df?
rgb(170, 70, 223) — 170 red, 70 green and 223 blue out of 255, or 66.7% / 27.5% / 87.5% by channel.
Is #aa46df a light or a dark color?
It is a mid-tone. Relative luminance is 0.1825 and perceived brightness is 51%, so black text on it reaches 4.65:1.
Should I use black or white text on #aa46df?
Black. It scores 4.65:1 against #aa46df, versus 4.52:1 for white — AA at any size.
What is the complementary color of #aa46df?
#7BDF46 sits directly opposite on the wheel. Softer options are the split-complements #C8DF46 and #46DF5E, which give the same contrast with far less vibration.
What colors go well with #aa46df?
For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #75B21A as an accent and #4E136D for hover and pressed states. For a palette, the analogous pair #5E46DF and #DF46C8 stays calm, while #7BDF46 is the loudest partner.
What is #aa46df in CMYK for printing?
cmyk(24%, 69%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #aa46df warm or cool?
Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF46DC; nudged cooler, #7144E1.