HSL(297, 71%, 69%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,71%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 71%, 69%) | color: hsl(297, 71%, 69%) | |
| HEX | #E278E8 | color: #E278E8 | |
| RGB | rgb(226, 120, 232) | color: rgb(226, 120, 232) | |
| CMYK | cmyk(3%, 48%, 0%, 9%) | — | |
| HSV | hsv(297, 48%, 91%) | — | |
| HWB | hwb(297 47% 9%) | color: hwb(297 47% 9%) | |
| OKLCH | oklch(0.7311 0.1895 325.29) | color: oklch(0.7311 0.1895 325.29) | |
| Lab | lab(66.08 56.82 -39.24) | color: lab(66.08 56.82 -39.24) | |
| LCH | lch(66.08 69.05 325.37) | color: lch(66.08 69.05 325.37) |
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)
#B4B3CD — rgb(180, 179, 205)
Deuteranopia (Green-blind)
#BAC2C6 — rgb(186, 194, 198)
Tritanopia (Blue-blind)
#DDB8B3 — rgb(221, 184, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 71%, 69%);
text
color: hsl(297, 71%, 69%);
border
border: 2px solid hsl(297, 71%, 69%);
gradient light
background: linear-gradient(to right, hsl(297, 71%, 89%), hsl(297, 71%, 69%));
gradient dark
background: linear-gradient(to right, hsl(297, 71%, 69%), hsl(297, 71%, 49%))
hex
background-color: #E278E8;
tailwind
bg-[hsl(297,71%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 71%, 69%, 0.4);
css variable
--color-primary: hsl(297, 71%, 69%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 71%, 69%)?
HEX: #E278E8 | RGB: rgb(226, 120, 232) | CMYK: 3%, 48%, 0%, 9% | HSV: 297°, 48%, 91%. Copy any format from the conversion table above.
What colors go well with #E278E8?
The complementary color is HSL(117, 71%, 69%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 71%, 69%) in CSS?
As HSL: color: hsl(297, 71%, 69%); — As HEX: color: #E278E8; — As RGB: color: rgb(226, 120, 232); — Tailwind CSS: bg-[hsl(297,71%,69%)] — CSS variable: --color-primary: hsl(297, 71%, 69%);