HSL(302, 95%, 67%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,95%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 95%, 67%) | color: hsl(302, 95%, 67%) | |
| HEX | #FB5BF5 | color: #FB5BF5 | |
| RGB | rgb(251, 91, 245) | color: rgb(251, 91, 245) | |
| CMYK | cmyk(0%, 64%, 2%, 2%) | — | |
| HSV | hsv(302, 64%, 98%) | — | |
| HWB | hwb(302 35% 2%) | color: hwb(302 35% 2%) | |
| OKLCH | oklch(0.7352 0.2553 329.34) | color: oklch(0.7352 0.2553 329.34) | |
| Lab | lab(65.43 77.95 -47.23) | color: lab(65.43 77.95 -47.23) | |
| LCH | lch(65.43 91.14 328.79) | color: lch(65.43 91.14 328.79) |
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)
#B6B4D0 — rgb(182, 180, 208)
Deuteranopia (Green-blind)
#BFCBC7 — rgb(191, 203, 199)
Tritanopia (Blue-blind)
#F3B2AC — rgb(243, 178, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 95%, 67%);
text
color: hsl(302, 95%, 67%);
border
border: 2px solid hsl(302, 95%, 67%);
gradient light
background: linear-gradient(to right, hsl(302, 95%, 87%), hsl(302, 95%, 67%));
gradient dark
background: linear-gradient(to right, hsl(302, 95%, 67%), hsl(302, 95%, 47%))
hex
background-color: #FB5BF5;
tailwind
bg-[hsl(302,95%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 95%, 67%, 0.4);
css variable
--color-primary: hsl(302, 95%, 67%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 95%, 67%)?
HEX: #FB5BF5 | RGB: rgb(251, 91, 245) | CMYK: 0%, 64%, 2%, 2% | HSV: 302°, 64%, 98%. Copy any format from the conversion table above.
What colors go well with #FB5BF5?
The complementary color is HSL(122, 95%, 67%). 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%, 67%) in CSS?
As HSL: color: hsl(302, 95%, 67%); — As HEX: color: #FB5BF5; — As RGB: color: rgb(251, 91, 245); — Tailwind CSS: bg-[hsl(302,95%,67%)] — CSS variable: --color-primary: hsl(302, 95%, 67%);