#aa4df0
a balanced, electric violet · cool · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #aa4df0 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 | #aa4df0 |
| RGB | rgb(170, 77, 240) |
| HSL | hsl(274, 85%, 62%) |
| CMYK | cmyk(29%, 68%, 0%, 6%) |
| LAB | lab(52.0 65.1 -66.5) |
| LCH | lch(52.0 93.1 314.4) |
| OKLCH | oklch(0.615 0.236 306.8) |
| Decimal | 11161072 |
| Display P3 | color(display-p3 0.667 0.302 0.941) |
Copy-ready code
/* CSS */
color: #aa4df0;
background-color: #aa4df0;
/* Tailwind (arbitrary) */
class="text-[#aa4df0] bg-[#aa4df0]"
/* SCSS */
$brand: #aa4df0;
/* SwiftUI */
Color(red: 0.667, green: 0.302, blue: 0.941)
/* Android */
Color.parseColor("#aa4df0")
/* Flutter */
Color(0xFFAA4DF0)
/* Python / OpenCV (BGR) */
(240, 77, 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. #aa4df0 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: #F8F2FC;
--brand-100: #F1E6FA;
--brand-200: #E1C5F7;
--brand-300: #CE97F6;
--brand-400: #aa4df0;
--brand-500: #9C30EE;
--brand-600: #8913E2;
--brand-700: #7210BC;
--brand-800: #5B0D97;
--brand-900: #440E6D;
--brand-950: #2A0944;
--brand: #aa4df0;
--brand-ink: #000000;
}Colors that work with #aa4df0
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 #aa4df0
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up 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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #93F04D | Directly opposite — maximum tension | |
| Analogous left | #594DF0 | Neighbour, quieter | |
| Analogous right | #F04DE5 | Neighbour, quieter | |
| Split-complement 1 | #E5F04D | Contrast without the clash | |
| Split-complement 2 | #4DF059 | Contrast without the clash | |
| Triadic 1 | #F0AA4D | Even thirds — balanced and loud | |
| Triadic 2 | #4DF0AA | Even thirds — balanced and loud | |
| Tetradic | #F0594D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#aa4df0 text on a black background
contrast 5.03:1
#aa4df0 text on a white background
contrast 4.18:1
CSS3 live lab
The quick brown fox
color: #aa4df0;
background-color: #aa4df0;
Glowing headline
text-shadow: 2px 2px 8px #aa4df0;
Soft neon halo
text-shadow: 0 0 14px rgba(170, 77, 240, 0.45);
box-shadow: 0 12px 32px -8px rgba(170, 77, 240, 0.45);
border: 3px solid #aa4df0; background: linear-gradient(135deg, #aa4df0, #F04DCA);
Monochromatic scale
Palettes built from #aa4df0
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 12.8 away, with its history, psychology and brand usage.
#aa4df0 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#aa4df0, answered
What color is #aa4df0?
#aa4df0 is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.2). It sits at 274° on the hue wheel with 85% saturation and 62% lightness, which reads as cool.
What is the RGB value of #aa4df0?
rgb(170, 77, 240) — 170 red, 77 green and 240 blue out of 255, or 66.7% / 30.2% / 94.1% by channel.
Is #aa4df0 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2015 and perceived brightness is 54%, so black text on it reaches 5.03:1.
Should I use black or white text on #aa4df0?
Black. It scores 5.03:1 against #aa4df0, versus 4.18:1 for white — AA at any size.
What is the complementary color of #aa4df0?
#93F04D sits directly opposite on the wheel. Softer options are the split-complements #E5F04D and #4DF059, which give the same contrast with far less vibration.
What colors go well with #aa4df0?
For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #86C00C as an accent and #470A76 for hover and pressed states. For a palette, the analogous pair #594DF0 and #F04DE5 stays calm, while #93F04D is the loudest partner.
What is #aa4df0 in CMYK for printing?
cmyk(29%, 68%, 0%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #aa4df0 warm or cool?
Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E64DF0; nudged cooler, #6D4BF2.