HSL(312, 63%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,63%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 63%, 65%) | color: hsl(312, 63%, 65%) | |
| HEX | #DE6EC7 | color: #DE6EC7 | |
| RGB | rgb(222, 110, 199) | color: rgb(222, 110, 199) | |
| CMYK | cmyk(0%, 50%, 10%, 13%) | — | |
| HSV | hsv(312, 50%, 87%) | — | |
| HWB | hwb(312 44% 13%) | color: hwb(312 44% 13%) | |
| OKLCH | oklch(0.6978 0.1747 335.67) | color: oklch(0.6978 0.1747 335.67) | |
| Lab | lab(62.35 54.89 -26.62) | color: lab(62.35 54.89 -26.62) | |
| LCH | lch(62.35 61 334.13) | color: lch(62.35 61 334.13) |
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)
#AEACB1 — rgb(174, 172, 177)
Deuteranopia (Green-blind)
#B4BCAC — rgb(180, 188, 172)
Tritanopia (Blue-blind)
#D8A09D — rgb(216, 160, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 63%, 65%);
text
color: hsl(312, 63%, 65%);
border
border: 2px solid hsl(312, 63%, 65%);
gradient light
background: linear-gradient(to right, hsl(312, 63%, 85%), hsl(312, 63%, 65%));
gradient dark
background: linear-gradient(to right, hsl(312, 63%, 65%), hsl(312, 63%, 45%))
hex
background-color: #DE6EC7;
tailwind
bg-[hsl(312,63%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 63%, 65%, 0.4);
css variable
--color-primary: hsl(312, 63%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 63%, 65%)?
HEX: #DE6EC7 | RGB: rgb(222, 110, 199) | CMYK: 0%, 50%, 10%, 13% | HSV: 312°, 50%, 87%. Copy any format from the conversion table above.
What colors go well with #DE6EC7?
The complementary color is HSL(132, 63%, 65%). 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, 63%, 65%) in CSS?
As HSL: color: hsl(312, 63%, 65%); — As HEX: color: #DE6EC7; — As RGB: color: rgb(222, 110, 199); — Tailwind CSS: bg-[hsl(312,63%,65%)] — CSS variable: --color-primary: hsl(312, 63%, 65%);