Sweet Desire #AA33EE RGB Color Code
Name from the community color list.
Sweet Desire (#AA33EE) is a very vivid, medium purple. In RGB it is made of 67% red, 20% green and 93% blue (R 170, G 51, B 238). The blue channel is the strongest. In HSL it has a hue of 278°, 85% saturation and 57% lightness. Its relative luminance is 0.171, so white text is easier to read on top of it. For print, a rough CMYK match is 29% cyan, 79% magenta, 0% yellow and 7% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.
Sweet Desire color codes
#AA33EE in every common color format. Click a value to copy it.
| Format | Value | Copy |
|---|---|---|
| HEX | #AA33EE | |
| RGB | rgb(170, 51, 238) | |
| HSL | hsl(278, 85%, 57%) | |
| HSV / HSB | hsv(278, 79%, 93%) | |
| HWB | hwb(278 20% 7%) | |
| CMYK | cmyk(29%, 79%, 0%, 7%) | |
| OKLCH | oklch(58.88% 0.2611 309.13) | |
| OKLab | oklab(58.88% 0.1648 -0.2025) | |
| CIELAB | lab(47.62% 68.42 -72.07) | |
| CIELCH | lch(47.62% 99.37 313.51) | |
| Display P3 | color(display-p3 0.6151 0.2357 0.9002) | |
| XYZ (D65) | color(xyz-d65 0.3319 0.1709 0.8244) | |
| Decimal | 11154414 |
CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.1709. Nearest web-safe color: #9933FF.
Mix Sweet Desire with other colors
See what #AA33EE makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.
Use Sweet Desire in your code
Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.
| Where | Code | Copy |
|---|---|---|
| CSS variable | --sweet-desire: #AA33EE; | |
| Sass variable | $sweet-desire: #AA33EE; | |
| Tailwind CSS v4 | @theme { --color-sweet-desire: #AA33EE; } | |
| Tailwind CSS v3 config | colors: { 'sweet-desire': '#AA33EE' } | |
| SwiftUI | Color(red: 0.667, green: 0.2, blue: 0.933) | |
| UIKit | UIColor(red: 0.667, green: 0.2, blue: 0.933, alpha: 1) | |
| Android XML | <color name="sweet_desire">#FFAA33EE</color> | |
| Flutter and Jetpack Compose | Color(0xFFAA33EE) |
Accessibility and contrast
White text works best on #AA33EE (4.75:1, AA). Here is how #AA33EE does as a text color:
Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.
How people with color blindness see Sweet Desire
#AA33EE next to its complement and its two triadic colors, as seen with each type of color blindness.
- Normal visionhow most people see it
- Protanopiano red cones, about 1% of men
- Deuteranopiano green cones, the most common type
- Tritanopiano blue cones, very rare
- Achromatopsiano color at all, very rare
#AA33EE stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.
Sweet Desire in a user interface
A sample app screen with #AA33EE as the main color, on a light and a dark theme.
Light theme
Dark theme
Buttons and bars use #AA33EE as it is. On the dark theme, #AA33EE is too hard to read as text (3.74:1), so links, the badge and outline text use #B845FE there (4.50:1). Build a full color scheme around it in the UI color preview.
Color harmonies for Sweet Desire
These schemes turn the hue of #AA33EE around the color wheel. Each swatch links to its own page.
Complementary
Two colors on opposite sides of the wheel. This gives the most contrast.
Analogous
Hues that sit next to each other and look good together.
Triadic
Three hues spaced evenly around the wheel. Bold, but still balanced.
Split complementary
A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.
Tetradic (rectangle)
Two pairs of opposite colors. Let one color lead and use the others less.
Square
Four hues 90° apart, spread evenly around the wheel.
Monochromatic
One hue at different levels of lightness and saturation.
Gradients with Sweet Desire
Four CSS gradients made from #AA33EE. Copy the code, or open one in the gradient generator to change it.
Soft tint
From a pale tint to the full color.
background: linear-gradient(90deg, #EEDBFF, #AA33EE);
Deep shade
The color fading into a dark shade.
background: linear-gradient(180deg, #AA33EE, #2D0742);
Analogous
Its two neighbors on the color wheel.
background: linear-gradient(135deg, #4D33EE, #AA33EE, #EE33D5);
Triadic
A bold blend with a triadic color, through a clean middle.
background: linear-gradient(135deg, #AA33EE, #C880AA, #EEAA33);
Shades, tints and tones of Sweet Desire
Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.
Design system scale (50 to 950)
Sweet Desire sits at step 500. Export the full scale as CSS variables or Tailwind tokens from the picker.
Closest RAL, Tailwind and CSS colors
The nearest match to #AA33EE in three color systems that designers and builders use.
ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.
Colors similar to Sweet Desire
The named colors that look closest to this one (ΔE in OKLab). Browse all shades of purple or search the color library.
