HSL(304, 95%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,95%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 95%, 35%) | color: hsl(304, 95%, 35%) | |
| HEX | #AE04A3 | color: #AE04A3 | |
| RGB | rgb(174, 4, 163) | color: rgb(174, 4, 163) | |
| CMYK | cmyk(0%, 98%, 6%, 32%) | — | |
| HSV | hsv(304, 98%, 68%) | — | |
| HWB | hwb(304 1% 32%) | color: hwb(304 1% 32%) | |
| OKLCH | oklch(0.5211 0.2335 331.82) | color: oklch(0.5211 0.2335 331.82) | |
| Lab | lab(40.79 71.74 -39.92) | color: lab(40.79 71.74 -39.92) | |
| LCH | lch(40.79 82.1 330.91) | color: lch(40.79 82.1 330.91) |
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)
#64637D — rgb(100, 99, 125)
Deuteranopia (Green-blind)
#6E7B73 — rgb(110, 123, 115)
Tritanopia (Blue-blind)
#A65E57 — rgb(166, 94, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 95%, 35%);
text
color: hsl(304, 95%, 35%);
border
border: 2px solid hsl(304, 95%, 35%);
gradient light
background: linear-gradient(to right, hsl(304, 95%, 55%), hsl(304, 95%, 35%));
gradient dark
background: linear-gradient(to right, hsl(304, 95%, 35%), hsl(304, 95%, 15%))
hex
background-color: #AE04A3;
tailwind
bg-[hsl(304,95%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 95%, 35%, 0.4);
css variable
--color-primary: hsl(304, 95%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 95%, 35%)?
HEX: #AE04A3 | RGB: rgb(174, 4, 163) | CMYK: 0%, 98%, 6%, 32% | HSV: 304°, 98%, 68%. Copy any format from the conversion table above.
What colors go well with #AE04A3?
The complementary color is HSL(124, 95%, 35%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 95%, 35%) in CSS?
As HSL: color: hsl(304, 95%, 35%); — As HEX: color: #AE04A3; — As RGB: color: rgb(174, 4, 163); — Tailwind CSS: bg-[hsl(304,95%,35%)] — CSS variable: --color-primary: hsl(304, 95%, 35%);