HSL(308, 74%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,74%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 74%, 55%) | color: hsl(308, 74%, 55%) | |
| HEX | #E137CB | color: #E137CB | |
| RGB | rgb(225, 55, 203) | color: rgb(225, 55, 203) | |
| CMYK | cmyk(0%, 76%, 10%, 12%) | — | |
| HSV | hsv(308, 76%, 88%) | — | |
| HWB | hwb(308 21% 12%) | color: hwb(308 21% 12%) | |
| OKLCH | oklch(0.6465 0.2514 334.07) | color: oklch(0.6465 0.2514 334.07) | |
| Lab | lab(55.13 77.83 -40.1) | color: lab(55.13 77.83 -40.1) | |
| LCH | lch(55.13 87.55 332.74) | color: lch(55.13 87.55 332.74) |
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)
#9796A7 — rgb(151, 150, 167)
Deuteranopia (Green-blind)
#A1AE9F — rgb(161, 174, 159)
Tritanopia (Blue-blind)
#D98B85 — rgb(217, 139, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 74%, 55%);
text
color: hsl(308, 74%, 55%);
border
border: 2px solid hsl(308, 74%, 55%);
gradient light
background: linear-gradient(to right, hsl(308, 74%, 75%), hsl(308, 74%, 55%));
gradient dark
background: linear-gradient(to right, hsl(308, 74%, 55%), hsl(308, 74%, 35%))
hex
background-color: #E137CB;
tailwind
bg-[hsl(308,74%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 74%, 55%, 0.4);
css variable
--color-primary: hsl(308, 74%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 74%, 55%)?
HEX: #E137CB | RGB: rgb(225, 55, 203) | CMYK: 0%, 76%, 10%, 12% | HSV: 308°, 76%, 88%. Copy any format from the conversion table above.
What colors go well with #E137CB?
The complementary color is HSL(128, 74%, 55%). 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, 74%, 55%) in CSS?
As HSL: color: hsl(308, 74%, 55%); — As HEX: color: #E137CB; — As RGB: color: rgb(225, 55, 203); — Tailwind CSS: bg-[hsl(308,74%,55%)] — CSS variable: --color-primary: hsl(308, 74%, 55%);