HSL(297, 74%, 67%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,74%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 74%, 67%) | color: hsl(297, 74%, 67%) | |
| HEX | #E36DE9 | color: #E36DE9 | |
| RGB | rgb(227, 109, 233) | color: rgb(227, 109, 233) | |
| CMYK | cmyk(3%, 53%, 0%, 9%) | — | |
| HSV | hsv(297, 53%, 91%) | — | |
| HWB | hwb(297 43% 9%) | color: hwb(297 43% 9%) | |
| OKLCH | oklch(0.7183 0.208 325.6) | color: oklch(0.7183 0.208 325.6) | |
| Lab | lab(64.29 62.5 -42.6) | color: lab(64.29 62.5 -42.6) | |
| LCH | lch(64.29 75.64 325.72) | color: lch(64.29 75.64 325.72) |
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)
#B0AFCB — rgb(176, 175, 203)
Deuteranopia (Green-blind)
#B7C0C4 — rgb(183, 192, 196)
Tritanopia (Blue-blind)
#DDB3AE — rgb(221, 179, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 74%, 67%);
text
color: hsl(297, 74%, 67%);
border
border: 2px solid hsl(297, 74%, 67%);
gradient light
background: linear-gradient(to right, hsl(297, 74%, 87%), hsl(297, 74%, 67%));
gradient dark
background: linear-gradient(to right, hsl(297, 74%, 67%), hsl(297, 74%, 47%))
hex
background-color: #E36DE9;
tailwind
bg-[hsl(297,74%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 74%, 67%, 0.4);
css variable
--color-primary: hsl(297, 74%, 67%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 74%, 67%)?
HEX: #E36DE9 | RGB: rgb(227, 109, 233) | CMYK: 3%, 53%, 0%, 9% | HSV: 297°, 53%, 91%. Copy any format from the conversion table above.
What colors go well with #E36DE9?
The complementary color is HSL(117, 74%, 67%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 74%, 67%) in CSS?
As HSL: color: hsl(297, 74%, 67%); — As HEX: color: #E36DE9; — As RGB: color: rgb(227, 109, 233); — Tailwind CSS: bg-[hsl(297,74%,67%)] — CSS variable: --color-primary: hsl(297, 74%, 67%);