HSL(302, 100%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,100%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 100%, 63%) | color: hsl(302, 100%, 63%) | |
| HEX | #FF42F9 | color: #FF42F9 | |
| RGB | rgb(255, 66, 249) | color: rgb(255, 66, 249) | |
| CMYK | cmyk(0%, 74%, 2%, 0%) | — | |
| HSV | hsv(302, 74%, 100%) | — | |
| HWB | hwb(302 26% 0%) | color: hwb(302 26% 0%) | |
| OKLCH | oklch(0.722 0.2868 329.47) | color: oklch(0.722 0.2868 329.47) | |
| Lab | lab(63.34 87.6 -52.69) | color: lab(63.34 87.6 -52.69) | |
| LCH | lch(63.34 102.23 328.97) | color: lch(63.34 102.23 328.97) |
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)
#ADABCD — rgb(173, 171, 205)
Deuteranopia (Green-blind)
#B8C6C2 — rgb(184, 198, 194)
Tritanopia (Blue-blind)
#F6AAA2 — rgb(246, 170, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 100%, 63%);
text
color: hsl(302, 100%, 63%);
border
border: 2px solid hsl(302, 100%, 63%);
gradient light
background: linear-gradient(to right, hsl(302, 100%, 83%), hsl(302, 100%, 63%));
gradient dark
background: linear-gradient(to right, hsl(302, 100%, 63%), hsl(302, 100%, 43%))
hex
background-color: #FF42F9;
tailwind
bg-[hsl(302,100%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 100%, 63%, 0.4);
css variable
--color-primary: hsl(302, 100%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 100%, 63%)?
HEX: #FF42F9 | RGB: rgb(255, 66, 249) | CMYK: 0%, 74%, 2%, 0% | HSV: 302°, 74%, 100%. Copy any format from the conversion table above.
What colors go well with #FF42F9?
The complementary color is HSL(122, 100%, 63%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 100%, 63%) in CSS?
As HSL: color: hsl(302, 100%, 63%); — As HEX: color: #FF42F9; — As RGB: color: rgb(255, 66, 249); — Tailwind CSS: bg-[hsl(302,100%,63%)] — CSS variable: --color-primary: hsl(302, 100%, 63%);