HSL(285, 90%, 46%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,90%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 90%, 46%) | color: hsl(285, 90%, 46%) | |
| HEX | #AA0CDF | color: #AA0CDF | |
| RGB | rgb(170, 12, 223) | color: rgb(170, 12, 223) | |
| CMYK | cmyk(24%, 95%, 0%, 13%) | — | |
| HSV | hsv(285, 95%, 87%) | — | |
| HWB | hwb(285 4% 13%) | color: hwb(285 4% 13%) | |
| OKLCH | oklch(0.558 0.2719 313.82) | color: oklch(0.558 0.2719 313.82) | |
| Lab | lab(44.43 80.06 -69.2) | color: lab(44.43 80.06 -69.2) | |
| LCH | lch(44.43 105.82 319.16) | color: lch(44.43 105.82 319.16) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#6664AC — rgb(102, 100, 172)
Deuteranopia (Green-blind)
#6F7BA0 — rgb(111, 123, 160)
Tritanopia (Blue-blind)
#A2847B — rgb(162, 132, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 90%, 46%);
text
color: hsl(285, 90%, 46%);
border
border: 2px solid hsl(285, 90%, 46%);
gradient light
background: linear-gradient(to right, hsl(285, 90%, 66%), hsl(285, 90%, 46%));
gradient dark
background: linear-gradient(to right, hsl(285, 90%, 46%), hsl(285, 90%, 26%))
hex
background-color: #AA0CDF;
tailwind
bg-[hsl(285,90%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 90%, 46%, 0.4);
css variable
--color-primary: hsl(285, 90%, 46%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 90%, 46%)?
HEX: #AA0CDF | RGB: rgb(170, 12, 223) | CMYK: 24%, 95%, 0%, 13% | HSV: 285°, 95%, 87%. Copy any format from the conversion table above.
What colors go well with #AA0CDF?
The complementary color is HSL(105, 90%, 46%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 90%, 46%) in CSS?
As HSL: color: hsl(285, 90%, 46%); — As HEX: color: #AA0CDF; — As RGB: color: rgb(170, 12, 223); — Tailwind CSS: bg-[hsl(285,90%,46%)] — CSS variable: --color-primary: hsl(285, 90%, 46%);