HSL(307, 71%, 61%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,71%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 71%, 61%) | color: hsl(307, 71%, 61%) | |
| HEX | #E255D2 | color: #E255D2 | |
| RGB | rgb(226, 85, 210) | color: rgb(226, 85, 210) | |
| CMYK | cmyk(0%, 62%, 7%, 11%) | — | |
| HSV | hsv(307, 62%, 89%) | — | |
| HWB | hwb(307 34% 11%) | color: hwb(307 34% 11%) | |
| OKLCH | oklch(0.6779 0.2227 332.49) | color: oklch(0.6779 0.2227 332.49) | |
| Lab | lab(59.27 68.81 -37.58) | color: lab(59.27 68.81 -37.58) | |
| LCH | lch(59.27 78.4 331.36) | color: lch(59.27 78.4 331.36) |
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)
#A5A4B4 — rgb(165, 164, 180)
Deuteranopia (Green-blind)
#ADB8AD — rgb(173, 184, 173)
Tritanopia (Blue-blind)
#DB9C97 — rgb(219, 156, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 71%, 61%);
text
color: hsl(307, 71%, 61%);
border
border: 2px solid hsl(307, 71%, 61%);
gradient light
background: linear-gradient(to right, hsl(307, 71%, 81%), hsl(307, 71%, 61%));
gradient dark
background: linear-gradient(to right, hsl(307, 71%, 61%), hsl(307, 71%, 41%))
hex
background-color: #E255D2;
tailwind
bg-[hsl(307,71%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 71%, 61%, 0.4);
css variable
--color-primary: hsl(307, 71%, 61%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 71%, 61%)?
HEX: #E255D2 | RGB: rgb(226, 85, 210) | CMYK: 0%, 62%, 7%, 11% | HSV: 307°, 62%, 89%. Copy any format from the conversion table above.
What colors go well with #E255D2?
The complementary color is HSL(127, 71%, 61%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 71%, 61%) in CSS?
As HSL: color: hsl(307, 71%, 61%); — As HEX: color: #E255D2; — As RGB: color: rgb(226, 85, 210); — Tailwind CSS: bg-[hsl(307,71%,61%)] — CSS variable: --color-primary: hsl(307, 71%, 61%);