HSL(308, 77%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,77%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 77%, 70%) | color: hsl(308, 77%, 70%) | |
| HEX | #ED78DE | color: #ED78DE | |
| RGB | rgb(237, 120, 222) | color: rgb(237, 120, 222) | |
| CMYK | cmyk(0%, 49%, 6%, 7%) | — | |
| HSV | hsv(308, 49%, 93%) | — | |
| HWB | hwb(308 47% 7%) | color: hwb(308 47% 7%) | |
| OKLCH | oklch(0.7399 0.1877 332.31) | color: oklch(0.7399 0.1877 332.31) | |
| Lab | lab(67.06 58.19 -32.07) | color: lab(67.06 58.19 -32.07) | |
| LCH | lch(67.06 66.44 331.14) | color: lch(67.06 66.44 331.14) |
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)
#BAB9C5 — rgb(186, 185, 197)
Deuteranopia (Green-blind)
#C1CABF — rgb(193, 202, 191)
Tritanopia (Blue-blind)
#E7B2AE — rgb(231, 178, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 77%, 70%);
text
color: hsl(308, 77%, 70%);
border
border: 2px solid hsl(308, 77%, 70%);
gradient light
background: linear-gradient(to right, hsl(308, 77%, 90%), hsl(308, 77%, 70%));
gradient dark
background: linear-gradient(to right, hsl(308, 77%, 70%), hsl(308, 77%, 50%))
hex
background-color: #ED78DE;
tailwind
bg-[hsl(308,77%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 77%, 70%, 0.4);
css variable
--color-primary: hsl(308, 77%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 77%, 70%)?
HEX: #ED78DE | RGB: rgb(237, 120, 222) | CMYK: 0%, 49%, 6%, 7% | HSV: 308°, 49%, 93%. Copy any format from the conversion table above.
What colors go well with #ED78DE?
The complementary color is HSL(128, 77%, 70%). 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, 77%, 70%) in CSS?
As HSL: color: hsl(308, 77%, 70%); — As HEX: color: #ED78DE; — As RGB: color: rgb(237, 120, 222); — Tailwind CSS: bg-[hsl(308,77%,70%)] — CSS variable: --color-primary: hsl(308, 77%, 70%);