HSL(311, 96%, 68%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,96%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 96%, 68%) | color: hsl(311, 96%, 68%) | |
| HEX | #FC5FDF | color: #FC5FDF | |
| RGB | rgb(252, 95, 223) | color: rgb(252, 95, 223) | |
| CMYK | cmyk(0%, 62%, 12%, 1%) | — | |
| HSV | hsv(311, 62%, 99%) | — | |
| HWB | hwb(311 38% 1%) | color: hwb(311 38% 1%) | |
| OKLCH | oklch(0.73 0.2346 335.74) | color: oklch(0.73 0.2346 335.74) | |
| Lab | lab(65.13 73.31 -35.46) | color: lab(65.13 73.31 -35.46) | |
| LCH | lch(65.13 81.44 334.19) | color: lch(65.13 81.44 334.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)
#B8B7C0 — rgb(184, 183, 192)
Deuteranopia (Green-blind)
#C1CDB9 — rgb(193, 205, 185)
Tritanopia (Blue-blind)
#F4A8A2 — rgb(244, 168, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 96%, 68%);
text
color: hsl(311, 96%, 68%);
border
border: 2px solid hsl(311, 96%, 68%);
gradient light
background: linear-gradient(to right, hsl(311, 96%, 88%), hsl(311, 96%, 68%));
gradient dark
background: linear-gradient(to right, hsl(311, 96%, 68%), hsl(311, 96%, 48%))
hex
background-color: #FC5FDF;
tailwind
bg-[hsl(311,96%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 96%, 68%, 0.4);
css variable
--color-primary: hsl(311, 96%, 68%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 96%, 68%)?
HEX: #FC5FDF | RGB: rgb(252, 95, 223) | CMYK: 0%, 62%, 12%, 1% | HSV: 311°, 62%, 99%. Copy any format from the conversion table above.
What colors go well with #FC5FDF?
The complementary color is HSL(131, 96%, 68%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 96%, 68%) in CSS?
As HSL: color: hsl(311, 96%, 68%); — As HEX: color: #FC5FDF; — As RGB: color: rgb(252, 95, 223); — Tailwind CSS: bg-[hsl(311,96%,68%)] — CSS variable: --color-primary: hsl(311, 96%, 68%);