HSL(296, 97%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,97%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 97%, 76%) | color: hsl(296, 97%, 76%) | |
| HEX | #F586FD | color: #F586FD | |
| RGB | rgb(245, 134, 253) | color: rgb(245, 134, 253) | |
| CMYK | cmyk(3%, 47%, 0%, 1%) | — | |
| HSV | hsv(296, 47%, 99%) | — | |
| HWB | hwb(296 52% 1%) | color: hwb(296 52% 1%) | |
| OKLCH | oklch(0.7824 0.1975 324.74) | color: oklch(0.7824 0.1975 324.74) | |
| Lab | lab(71.93 59.02 -41.46) | color: lab(71.93 59.02 -41.46) | |
| LCH | lch(71.93 72.13 324.91) | color: lch(71.93 72.13 324.91) |
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)
#C5C4E0 — rgb(197, 196, 224)
Deuteranopia (Green-blind)
#CBD4D9 — rgb(203, 212, 217)
Tritanopia (Blue-blind)
#EFC9C4 — rgb(239, 201, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 97%, 76%);
text
color: hsl(296, 97%, 76%);
border
border: 2px solid hsl(296, 97%, 76%);
gradient light
background: linear-gradient(to right, hsl(296, 97%, 96%), hsl(296, 97%, 76%));
gradient dark
background: linear-gradient(to right, hsl(296, 97%, 76%), hsl(296, 97%, 56%))
hex
background-color: #F586FD;
tailwind
bg-[hsl(296,97%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 97%, 76%, 0.4);
css variable
--color-primary: hsl(296, 97%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 97%, 76%)?
HEX: #F586FD | RGB: rgb(245, 134, 253) | CMYK: 3%, 47%, 0%, 1% | HSV: 296°, 47%, 99%. Copy any format from the conversion table above.
What colors go well with #F586FD?
The complementary color is HSL(116, 97%, 76%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 97%, 76%) in CSS?
As HSL: color: hsl(296, 97%, 76%); — As HEX: color: #F586FD; — As RGB: color: rgb(245, 134, 253); — Tailwind CSS: bg-[hsl(296,97%,76%)] — CSS variable: --color-primary: hsl(296, 97%, 76%);