HSL(308, 75%, 72%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,75%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 75%, 72%) | color: hsl(308, 75%, 72%) | |
| HEX | #ED82DF | color: #ED82DF | |
| RGB | rgb(237, 130, 223) | color: rgb(237, 130, 223) | |
| CMYK | cmyk(0%, 45%, 6%, 7%) | — | |
| HSV | hsv(308, 45%, 93%) | — | |
| HWB | hwb(308 51% 7%) | color: hwb(308 51% 7%) | |
| OKLCH | oklch(0.7542 0.1724 332.15) | color: oklch(0.7542 0.1724 332.15) | |
| Lab | lab(68.97 53.49 -29.68) | color: lab(68.97 53.49 -29.68) | |
| LCH | lch(68.97 61.17 330.98) | color: lch(68.97 61.17 330.98) |
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)
#BFBEC8 — rgb(191, 190, 200)
Deuteranopia (Green-blind)
#C5CDC3 — rgb(197, 205, 195)
Tritanopia (Blue-blind)
#E8B7B3 — rgb(232, 183, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 75%, 72%);
text
color: hsl(308, 75%, 72%);
border
border: 2px solid hsl(308, 75%, 72%);
gradient light
background: linear-gradient(to right, hsl(308, 75%, 92%), hsl(308, 75%, 72%));
gradient dark
background: linear-gradient(to right, hsl(308, 75%, 72%), hsl(308, 75%, 52%))
hex
background-color: #ED82DF;
tailwind
bg-[hsl(308,75%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 75%, 72%, 0.4);
css variable
--color-primary: hsl(308, 75%, 72%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 75%, 72%)?
HEX: #ED82DF | RGB: rgb(237, 130, 223) | CMYK: 0%, 45%, 6%, 7% | HSV: 308°, 45%, 93%. Copy any format from the conversion table above.
What colors go well with #ED82DF?
The complementary color is HSL(128, 75%, 72%). 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, 75%, 72%) in CSS?
As HSL: color: hsl(308, 75%, 72%); — As HEX: color: #ED82DF; — As RGB: color: rgb(237, 130, 223); — Tailwind CSS: bg-[hsl(308,75%,72%)] — CSS variable: --color-primary: hsl(308, 75%, 72%);