HSL(308, 75%, 56%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,75%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 75%, 56%) | color: hsl(308, 75%, 56%) | |
| HEX | #E33BCD | color: #E33BCD | |
| RGB | rgb(227, 59, 205) | color: rgb(227, 59, 205) | |
| CMYK | cmyk(0%, 74%, 10%, 11%) | — | |
| HSV | hsv(308, 74%, 89%) | — | |
| HWB | hwb(308 23% 11%) | color: hwb(308 23% 11%) | |
| OKLCH | oklch(0.6534 0.2499 334.04) | color: oklch(0.6534 0.2499 334.04) | |
| Lab | lab(55.96 77.39 -39.92) | color: lab(55.96 77.39 -39.92) | |
| LCH | lch(55.96 87.08 332.71) | color: lch(55.96 87.08 332.71) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9A99AA — rgb(154, 153, 170)
Deuteranopia (Green-blind)
#A4B1A1 — rgb(164, 177, 161)
Tritanopia (Blue-blind)
#DB8E88 — rgb(219, 142, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 75%, 56%);
text
color: hsl(308, 75%, 56%);
border
border: 2px solid hsl(308, 75%, 56%);
gradient light
background: linear-gradient(to right, hsl(308, 75%, 76%), hsl(308, 75%, 56%));
gradient dark
background: linear-gradient(to right, hsl(308, 75%, 56%), hsl(308, 75%, 36%))
hex
background-color: #E33BCD;
tailwind
bg-[hsl(308,75%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 75%, 56%, 0.4);
css variable
--color-primary: hsl(308, 75%, 56%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 75%, 56%)?
HEX: #E33BCD | RGB: rgb(227, 59, 205) | CMYK: 0%, 74%, 10%, 11% | HSV: 308°, 74%, 89%. Copy any format from the conversion table above.
What colors go well with #E33BCD?
The complementary color is HSL(128, 75%, 56%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 75%, 56%) in CSS?
As HSL: color: hsl(308, 75%, 56%); — As HEX: color: #E33BCD; — As RGB: color: rgb(227, 59, 205); — Tailwind CSS: bg-[hsl(308,75%,56%)] — CSS variable: --color-primary: hsl(308, 75%, 56%);