HSL(308, 64%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,64%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 64%, 55%) | color: hsl(308, 64%, 55%) | |
| HEX | #D643C2 | color: #D643C2 | |
| RGB | rgb(214, 67, 194) | color: rgb(214, 67, 194) | |
| CMYK | cmyk(0%, 69%, 9%, 16%) | — | |
| HSV | hsv(308, 69%, 84%) | — | |
| HWB | hwb(308 26% 16%) | color: hwb(308 26% 16%) | |
| OKLCH | oklch(0.6354 0.2267 333.91) | color: oklch(0.6354 0.2267 333.91) | |
| Lab | lab(54.25 70.26 -36.44) | color: lab(54.25 70.26 -36.44) | |
| LCH | lch(54.25 79.15 332.59) | color: lch(54.25 79.15 332.59) |
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)
#9695A3 — rgb(150, 149, 163)
Deuteranopia (Green-blind)
#9FAA9C — rgb(159, 170, 156)
Tritanopia (Blue-blind)
#CF8B86 — rgb(207, 139, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 64%, 55%);
text
color: hsl(308, 64%, 55%);
border
border: 2px solid hsl(308, 64%, 55%);
gradient light
background: linear-gradient(to right, hsl(308, 64%, 75%), hsl(308, 64%, 55%));
gradient dark
background: linear-gradient(to right, hsl(308, 64%, 55%), hsl(308, 64%, 35%))
hex
background-color: #D643C2;
tailwind
bg-[hsl(308,64%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 64%, 55%, 0.4);
css variable
--color-primary: hsl(308, 64%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 64%, 55%)?
HEX: #D643C2 | RGB: rgb(214, 67, 194) | CMYK: 0%, 69%, 9%, 16% | HSV: 308°, 69%, 84%. Copy any format from the conversion table above.
What colors go well with #D643C2?
The complementary color is HSL(128, 64%, 55%). 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, 64%, 55%) in CSS?
As HSL: color: hsl(308, 64%, 55%); — As HEX: color: #D643C2; — As RGB: color: rgb(214, 67, 194); — Tailwind CSS: bg-[hsl(308,64%,55%)] — CSS variable: --color-primary: hsl(308, 64%, 55%);