HSL(302, 86%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,86%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 86%, 62%) | color: hsl(302, 86%, 62%) | |
| HEX | #F14BEC | color: #F14BEC | |
| RGB | rgb(241, 75, 236) | color: rgb(241, 75, 236) | |
| CMYK | cmyk(0%, 69%, 2%, 5%) | — | |
| HSV | hsv(302, 69%, 95%) | — | |
| HWB | hwb(302 29% 5%) | color: hwb(302 29% 5%) | |
| OKLCH | oklch(0.7023 0.2621 329.22) | color: oklch(0.7023 0.2621 329.22) | |
| Lab | lab(61.48 80 -48.57) | color: lab(61.48 80 -48.57) | |
| LCH | lch(61.48 93.59 328.74) | color: lch(61.48 93.59 328.74) |
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)
#A9A8C5 — rgb(169, 168, 197)
Deuteranopia (Green-blind)
#B3BFBC — rgb(179, 191, 188)
Tritanopia (Blue-blind)
#E9A6A0 — rgb(233, 166, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 86%, 62%);
text
color: hsl(302, 86%, 62%);
border
border: 2px solid hsl(302, 86%, 62%);
gradient light
background: linear-gradient(to right, hsl(302, 86%, 82%), hsl(302, 86%, 62%));
gradient dark
background: linear-gradient(to right, hsl(302, 86%, 62%), hsl(302, 86%, 42%))
hex
background-color: #F14BEC;
tailwind
bg-[hsl(302,86%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 86%, 62%, 0.4);
css variable
--color-primary: hsl(302, 86%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 86%, 62%)?
HEX: #F14BEC | RGB: rgb(241, 75, 236) | CMYK: 0%, 69%, 2%, 5% | HSV: 302°, 69%, 95%. Copy any format from the conversion table above.
What colors go well with #F14BEC?
The complementary color is HSL(122, 86%, 62%). 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, 86%, 62%) in CSS?
As HSL: color: hsl(302, 86%, 62%); — As HEX: color: #F14BEC; — As RGB: color: rgb(241, 75, 236); — Tailwind CSS: bg-[hsl(302,86%,62%)] — CSS variable: --color-primary: hsl(302, 86%, 62%);