HSL(304, 92%, 84%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,92%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 92%, 84%) | color: hsl(304, 92%, 84%) | |
| HEX | #FCB1F7 | color: #FCB1F7 | |
| RGB | rgb(252, 177, 247) | color: rgb(252, 177, 247) | |
| CMYK | cmyk(0%, 30%, 2%, 1%) | — | |
| HSV | hsv(304, 30%, 99%) | — | |
| HWB | hwb(304 69% 1%) | color: hwb(304 69% 1%) | |
| OKLCH | oklch(0.8531 0.1245 328.89) | color: oklch(0.8531 0.1245 328.89) | |
| Lab | lab(81.21 38.15 -23.84) | color: lab(81.21 38.15 -23.84) | |
| LCH | lch(81.21 44.99 328) | color: lch(81.21 44.99 328) |
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)
#DCDBE6 — rgb(220, 219, 230)
Deuteranopia (Green-blind)
#E0E6E2 — rgb(224, 230, 226)
Tritanopia (Blue-blind)
#F8D9D6 — rgb(248, 217, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 92%, 84%);
text
color: hsl(304, 92%, 84%);
border
border: 2px solid hsl(304, 92%, 84%);
gradient light
background: linear-gradient(to right, hsl(304, 92%, 100%), hsl(304, 92%, 84%));
gradient dark
background: linear-gradient(to right, hsl(304, 92%, 84%), hsl(304, 92%, 64%))
hex
background-color: #FCB1F7;
tailwind
bg-[hsl(304,92%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 92%, 84%, 0.4);
css variable
--color-primary: hsl(304, 92%, 84%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 92%, 84%)?
HEX: #FCB1F7 | RGB: rgb(252, 177, 247) | CMYK: 0%, 30%, 2%, 1% | HSV: 304°, 30%, 99%. Copy any format from the conversion table above.
What colors go well with #FCB1F7?
The complementary color is HSL(124, 92%, 84%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 92%, 84%) in CSS?
As HSL: color: hsl(304, 92%, 84%); — As HEX: color: #FCB1F7; — As RGB: color: rgb(252, 177, 247); — Tailwind CSS: bg-[hsl(304,92%,84%)] — CSS variable: --color-primary: hsl(304, 92%, 84%);