HSL(299, 92%, 64%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,92%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 92%, 64%) | color: hsl(299, 92%, 64%) | |
| HEX | #F54FF8 | color: #F54FF8 | |
| RGB | rgb(245, 79, 248) | color: rgb(245, 79, 248) | |
| CMYK | cmyk(1%, 68%, 0%, 3%) | — | |
| HSV | hsv(299, 68%, 97%) | — | |
| HWB | hwb(299 31% 3%) | color: hwb(299 31% 3%) | |
| OKLCH | oklch(0.7176 0.2685 327.18) | color: oklch(0.7176 0.2685 327.18) | |
| Lab | lab(63.17 81.39 -52.52) | color: lab(63.17 81.39 -52.52) | |
| LCH | lch(63.17 96.86 327.17) | color: lch(63.17 96.86 327.17) |
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)
#ADACCF — rgb(173, 172, 207)
Deuteranopia (Green-blind)
#B7C3C5 — rgb(183, 195, 197)
Tritanopia (Blue-blind)
#EDAFA8 — rgb(237, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 92%, 64%);
text
color: hsl(299, 92%, 64%);
border
border: 2px solid hsl(299, 92%, 64%);
gradient light
background: linear-gradient(to right, hsl(299, 92%, 84%), hsl(299, 92%, 64%));
gradient dark
background: linear-gradient(to right, hsl(299, 92%, 64%), hsl(299, 92%, 44%))
hex
background-color: #F54FF8;
tailwind
bg-[hsl(299,92%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 92%, 64%, 0.4);
css variable
--color-primary: hsl(299, 92%, 64%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 92%, 64%)?
HEX: #F54FF8 | RGB: rgb(245, 79, 248) | CMYK: 1%, 68%, 0%, 3% | HSV: 299°, 68%, 97%. Copy any format from the conversion table above.
What colors go well with #F54FF8?
The complementary color is HSL(119, 92%, 64%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 92%, 64%) in CSS?
As HSL: color: hsl(299, 92%, 64%); — As HEX: color: #F54FF8; — As RGB: color: rgb(245, 79, 248); — Tailwind CSS: bg-[hsl(299,92%,64%)] — CSS variable: --color-primary: hsl(299, 92%, 64%);