HSL(302, 95%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,95%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 95%, 70%) | color: hsl(302, 95%, 70%) | |
| HEX | #FB6AF6 | color: #FB6AF6 | |
| RGB | rgb(251, 106, 246) | color: rgb(251, 106, 246) | |
| CMYK | cmyk(0%, 58%, 2%, 2%) | — | |
| HSV | hsv(302, 58%, 98%) | — | |
| HWB | hwb(302 41% 2%) | color: hwb(302 41% 2%) | |
| OKLCH | oklch(0.7513 0.2365 328.98) | color: oklch(0.7513 0.2365 328.98) | |
| Lab | lab(67.63 72.15 -44.31) | color: lab(67.63 72.15 -44.31) | |
| LCH | lch(67.63 84.67 328.44) | color: lch(67.63 84.67 328.44) |
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)
#BCBBD4 — rgb(188, 187, 212)
Deuteranopia (Green-blind)
#C5D0CC — rgb(197, 208, 204)
Tritanopia (Blue-blind)
#F4B9B4 — rgb(244, 185, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 95%, 70%);
text
color: hsl(302, 95%, 70%);
border
border: 2px solid hsl(302, 95%, 70%);
gradient light
background: linear-gradient(to right, hsl(302, 95%, 90%), hsl(302, 95%, 70%));
gradient dark
background: linear-gradient(to right, hsl(302, 95%, 70%), hsl(302, 95%, 50%))
hex
background-color: #FB6AF6;
tailwind
bg-[hsl(302,95%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 95%, 70%, 0.4);
css variable
--color-primary: hsl(302, 95%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 95%, 70%)?
HEX: #FB6AF6 | RGB: rgb(251, 106, 246) | CMYK: 0%, 58%, 2%, 2% | HSV: 302°, 58%, 98%. Copy any format from the conversion table above.
What colors go well with #FB6AF6?
The complementary color is HSL(122, 95%, 70%). 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, 95%, 70%) in CSS?
As HSL: color: hsl(302, 95%, 70%); — As HEX: color: #FB6AF6; — As RGB: color: rgb(251, 106, 246); — Tailwind CSS: bg-[hsl(302,95%,70%)] — CSS variable: --color-primary: hsl(302, 95%, 70%);