HSL(312, 97%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,97%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 97%, 65%) | color: hsl(312, 97%, 65%) | |
| HEX | #FC4FDA | color: #FC4FDA | |
| RGB | rgb(252, 79, 218) | color: rgb(252, 79, 218) | |
| CMYK | cmyk(0%, 69%, 13%, 1%) | — | |
| HSV | hsv(312, 69%, 99%) | — | |
| HWB | hwb(312 31% 1%) | color: hwb(312 31% 1%) | |
| OKLCH | oklch(0.7124 0.2509 336.85) | color: oklch(0.7124 0.2509 336.85) | |
| Lab | lab(62.81 78.48 -36.28) | color: lab(62.81 78.48 -36.28) | |
| LCH | lch(62.81 86.46 335.19) | color: lch(62.81 86.46 335.19) |
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)
#B1B0B8 — rgb(177, 176, 184)
Deuteranopia (Green-blind)
#BBC8B0 — rgb(187, 200, 176)
Tritanopia (Blue-blind)
#F39E98 — rgb(243, 158, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 97%, 65%);
text
color: hsl(312, 97%, 65%);
border
border: 2px solid hsl(312, 97%, 65%);
gradient light
background: linear-gradient(to right, hsl(312, 97%, 85%), hsl(312, 97%, 65%));
gradient dark
background: linear-gradient(to right, hsl(312, 97%, 65%), hsl(312, 97%, 45%))
hex
background-color: #FC4FDA;
tailwind
bg-[hsl(312,97%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 97%, 65%, 0.4);
css variable
--color-primary: hsl(312, 97%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 97%, 65%)?
HEX: #FC4FDA | RGB: rgb(252, 79, 218) | CMYK: 0%, 69%, 13%, 1% | HSV: 312°, 69%, 99%. Copy any format from the conversion table above.
What colors go well with #FC4FDA?
The complementary color is HSL(132, 97%, 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, 97%, 65%) in CSS?
As HSL: color: hsl(312, 97%, 65%); — As HEX: color: #FC4FDA; — As RGB: color: rgb(252, 79, 218); — Tailwind CSS: bg-[hsl(312,97%,65%)] — CSS variable: --color-primary: hsl(312, 97%, 65%);