HSL(302, 70%, 61%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,70%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 70%, 61%) | color: hsl(302, 70%, 61%) | |
| HEX | #E156DD | color: #E156DD | |
| RGB | rgb(225, 86, 221) | color: rgb(225, 86, 221) | |
| CMYK | cmyk(0%, 62%, 2%, 12%) | — | |
| HSV | hsv(302, 62%, 88%) | — | |
| HWB | hwb(302 33% 12%) | color: hwb(302 33% 12%) | |
| OKLCH | oklch(0.683 0.2293 328.9) | color: oklch(0.683 0.2293 328.9) | |
| Lab | lab(59.79 69.92 -42.99) | color: lab(59.79 69.92 -42.99) | |
| LCH | lch(59.79 82.08 328.41) | color: lch(59.79 82.08 328.41) |
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)
#A5A4BC — rgb(165, 164, 188)
Deuteranopia (Green-blind)
#ADB7B5 — rgb(173, 183, 181)
Tritanopia (Blue-blind)
#DAA39D — rgb(218, 163, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 70%, 61%);
text
color: hsl(302, 70%, 61%);
border
border: 2px solid hsl(302, 70%, 61%);
gradient light
background: linear-gradient(to right, hsl(302, 70%, 81%), hsl(302, 70%, 61%));
gradient dark
background: linear-gradient(to right, hsl(302, 70%, 61%), hsl(302, 70%, 41%))
hex
background-color: #E156DD;
tailwind
bg-[hsl(302,70%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 70%, 61%, 0.4);
css variable
--color-primary: hsl(302, 70%, 61%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 70%, 61%)?
HEX: #E156DD | RGB: rgb(225, 86, 221) | CMYK: 0%, 62%, 2%, 12% | HSV: 302°, 62%, 88%. Copy any format from the conversion table above.
What colors go well with #E156DD?
The complementary color is HSL(122, 70%, 61%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 70%, 61%) in CSS?
As HSL: color: hsl(302, 70%, 61%); — As HEX: color: #E156DD; — As RGB: color: rgb(225, 86, 221); — Tailwind CSS: bg-[hsl(302,70%,61%)] — CSS variable: --color-primary: hsl(302, 70%, 61%);