HSL(302, 90%, 66%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,90%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 90%, 66%) | color: hsl(302, 90%, 66%) | |
| HEX | #F65AF1 | color: #F65AF1 | |
| RGB | rgb(246, 90, 241) | color: rgb(246, 90, 241) | |
| CMYK | cmyk(0%, 63%, 2%, 4%) | — | |
| HSV | hsv(302, 63%, 96%) | — | |
| HWB | hwb(302 36% 4%) | color: hwb(302 36% 4%) | |
| OKLCH | oklch(0.7254 0.2509 329.1) | color: oklch(0.7254 0.2509 329.1) | |
| Lab | lab(64.37 76.54 -46.73) | color: lab(64.37 76.54 -46.73) | |
| LCH | lch(64.37 89.68 328.59) | color: lch(64.37 89.68 328.59) |
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)
#B2B1CC — rgb(178, 177, 204)
Deuteranopia (Green-blind)
#BCC7C4 — rgb(188, 199, 196)
Tritanopia (Blue-blind)
#EEB0A9 — rgb(238, 176, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 90%, 66%);
text
color: hsl(302, 90%, 66%);
border
border: 2px solid hsl(302, 90%, 66%);
gradient light
background: linear-gradient(to right, hsl(302, 90%, 86%), hsl(302, 90%, 66%));
gradient dark
background: linear-gradient(to right, hsl(302, 90%, 66%), hsl(302, 90%, 46%))
hex
background-color: #F65AF1;
tailwind
bg-[hsl(302,90%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 90%, 66%, 0.4);
css variable
--color-primary: hsl(302, 90%, 66%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 90%, 66%)?
HEX: #F65AF1 | RGB: rgb(246, 90, 241) | CMYK: 0%, 63%, 2%, 4% | HSV: 302°, 63%, 96%. Copy any format from the conversion table above.
What colors go well with #F65AF1?
The complementary color is HSL(122, 90%, 66%). 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, 90%, 66%) in CSS?
As HSL: color: hsl(302, 90%, 66%); — As HEX: color: #F65AF1; — As RGB: color: rgb(246, 90, 241); — Tailwind CSS: bg-[hsl(302,90%,66%)] — CSS variable: --color-primary: hsl(302, 90%, 66%);