HSL(298, 70%, 80%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(298,70%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 70%, 80%) | color: hsl(298, 70%, 80%) | |
| HEX | #EDA8F0 | color: #EDA8F0 | |
| RGB | rgb(237, 168, 240) | color: rgb(237, 168, 240) | |
| CMYK | cmyk(1%, 30%, 0%, 6%) | — | |
| HSV | hsv(298, 30%, 94%) | — | |
| HWB | hwb(298 66% 6%) | color: hwb(298 66% 6%) | |
| OKLCH | oklch(0.8203 0.1233 325.22) | color: oklch(0.8203 0.1233 325.22) | |
| Lab | lab(77.46 36.88 -25.94) | color: lab(77.46 36.88 -25.94) | |
| LCH | lch(77.46 45.09 324.88) | color: lch(77.46 45.09 324.88) |
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)
#CFCFDF — rgb(207, 207, 223)
Deuteranopia (Green-blind)
#D3D8DA — rgb(211, 216, 218)
Tritanopia (Blue-blind)
#EAD1CE — rgb(234, 209, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 70%, 80%);
text
color: hsl(298, 70%, 80%);
border
border: 2px solid hsl(298, 70%, 80%);
gradient light
background: linear-gradient(to right, hsl(298, 70%, 100%), hsl(298, 70%, 80%));
gradient dark
background: linear-gradient(to right, hsl(298, 70%, 80%), hsl(298, 70%, 60%))
hex
background-color: #EDA8F0;
tailwind
bg-[hsl(298,70%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 70%, 80%, 0.4);
css variable
--color-primary: hsl(298, 70%, 80%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 70%, 80%)?
HEX: #EDA8F0 | RGB: rgb(237, 168, 240) | CMYK: 1%, 30%, 0%, 6% | HSV: 298°, 30%, 94%. Copy any format from the conversion table above.
What colors go well with #EDA8F0?
The complementary color is HSL(118, 70%, 80%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(298, 70%, 80%) in CSS?
As HSL: color: hsl(298, 70%, 80%); — As HEX: color: #EDA8F0; — As RGB: color: rgb(237, 168, 240); — Tailwind CSS: bg-[hsl(298,70%,80%)] — CSS variable: --color-primary: hsl(298, 70%, 80%);