More
More
#AA00FF colour
#AA00FF is a vivid purple close to CSS blueviolet: RGB 170, 0, 255, HSL 280, 100%, 50%. White text passes AA (5.06:1). Tints, shades and colour harmonies.
- Nearest CSS name
blueviolet#8a2be2 (not an exact match)- Described as
- a vivid purple
- Red, green, blue
- 170, 0, 255
- Material 2014
- Purple A700
- Web safe
- No
- Luminance
- 0.1577 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #aa00ff | |
|---|---|---|
| HEX (short) | #a0f | |
| RGB | rgb(170, 0, 255) | |
| RGB (percent) | rgb(66.7% 0% 100%) | |
| HSL | hsl(280, 100%, 50%) | |
| HSV / HSB | hsv(280, 100%, 100%) | |
| HWB | hwb(280 0% 0%) | |
| CMYK (naive) | cmyk(33%, 100%, 0%, 0%) | |
| CIELAB (D50) | lab(45.64% 79.88 -84.81) | |
| OKLCH | oklch(58.12% 0.2986 307.03) | |
| Decimal | 11141375 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 5.06:1 | Pass | Pass | Fail | Pass |
| Black | 4.15:1 | Fail | Pass | Fail | Fail |
White text is the better choice on #AA00FF (5.06:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
Material Purple palette
CSS
| Text colour | color: #aa00ff; | |
|---|---|---|
| Background | background-color: #aa00ff; | |
| Border | border: 1px solid #aa00ff; | |
| Half transparent | background-color: rgb(170 0 255 / 50%); | |
| Custom property | --colour-main: #aa00ff; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #aa00ff, #660099); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #cc66ff, #aa00ff); | |
| Text on this colour | background-color: #aa00ff; color: #fff; |
Similar named colours
blueviolet#8a2be2, distance 7.3darkviolet#9400d3, distance 7.8darkorchid#9932cc, distance 8.4mediumorchid#ba55d3, distance 11.8mediumslateblue#7b68ee, distance 14mediumpurple#9370db, distance 15.3#55ff00Complement of #AA00FF
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #AA00FF to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.