HSL(312, 71%, 68%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,71%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 71%, 68%) | color: hsl(312, 71%, 68%) | |
| HEX | #E773D0 | color: #E773D0 | |
| RGB | rgb(231, 115, 208) | color: rgb(231, 115, 208) | |
| CMYK | cmyk(0%, 50%, 10%, 9%) | — | |
| HSV | hsv(312, 50%, 91%) | — | |
| HWB | hwb(312 46% 9%) | color: hwb(312 46% 9%) | |
| OKLCH | oklch(0.7197 0.1803 335.35) | color: oklch(0.7197 0.1803 335.35) | |
| Lab | lab(64.81 56.57 -27.8) | color: lab(64.81 56.57 -27.8) | |
| LCH | lch(64.81 63.03 333.83) | color: lch(64.81 63.03 333.83) |
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)
#B5B4B9 — rgb(181, 180, 185)
Deuteranopia (Green-blind)
#BCC4B4 — rgb(188, 196, 180)
Tritanopia (Blue-blind)
#E1A8A4 — rgb(225, 168, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 71%, 68%);
text
color: hsl(312, 71%, 68%);
border
border: 2px solid hsl(312, 71%, 68%);
gradient light
background: linear-gradient(to right, hsl(312, 71%, 88%), hsl(312, 71%, 68%));
gradient dark
background: linear-gradient(to right, hsl(312, 71%, 68%), hsl(312, 71%, 48%))
hex
background-color: #E773D0;
tailwind
bg-[hsl(312,71%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 71%, 68%, 0.4);
css variable
--color-primary: hsl(312, 71%, 68%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 71%, 68%)?
HEX: #E773D0 | RGB: rgb(231, 115, 208) | CMYK: 0%, 50%, 10%, 9% | HSV: 312°, 50%, 91%. Copy any format from the conversion table above.
What colors go well with #E773D0?
The complementary color is HSL(132, 71%, 68%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 71%, 68%) in CSS?
As HSL: color: hsl(312, 71%, 68%); — As HEX: color: #E773D0; — As RGB: color: rgb(231, 115, 208); — Tailwind CSS: bg-[hsl(312,71%,68%)] — CSS variable: --color-primary: hsl(312, 71%, 68%);