HSL(302, 85%, 78%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,85%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 85%, 78%) | color: hsl(302, 85%, 78%) | |
| HEX | #F797F3 | color: #F797F3 | |
| RGB | rgb(247, 151, 243) | color: rgb(247, 151, 243) | |
| CMYK | cmyk(0%, 39%, 2%, 3%) | — | |
| HSV | hsv(303, 39%, 97%) | — | |
| HWB | hwb(303 59% 3%) | color: hwb(303 59% 3%) | |
| OKLCH | oklch(0.805 0.1618 328.43) | color: oklch(0.805 0.1618 328.43) | |
| Lab | lab(75.06 49.35 -31.15) | color: lab(75.06 49.35 -31.15) | |
| LCH | lch(75.06 58.36 327.74) | color: lch(75.06 58.36 327.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)
#CDCDDD — rgb(205, 205, 221)
Deuteranopia (Green-blind)
#D3DAD7 — rgb(211, 218, 215)
Tritanopia (Blue-blind)
#F2CBC7 — rgb(242, 203, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 85%, 78%);
text
color: hsl(302, 85%, 78%);
border
border: 2px solid hsl(302, 85%, 78%);
gradient light
background: linear-gradient(to right, hsl(302, 85%, 98%), hsl(302, 85%, 78%));
gradient dark
background: linear-gradient(to right, hsl(302, 85%, 78%), hsl(302, 85%, 58%))
hex
background-color: #F797F3;
tailwind
bg-[hsl(302,85%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 85%, 78%, 0.4);
css variable
--color-primary: hsl(302, 85%, 78%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 85%, 78%)?
HEX: #F797F3 | RGB: rgb(247, 151, 243) | CMYK: 0%, 39%, 2%, 3% | HSV: 303°, 39%, 97%. Copy any format from the conversion table above.
What colors go well with #F797F3?
The complementary color is HSL(122, 85%, 78%). 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, 85%, 78%) in CSS?
As HSL: color: hsl(302, 85%, 78%); — As HEX: color: #F797F3; — As RGB: color: rgb(247, 151, 243); — Tailwind CSS: bg-[hsl(302,85%,78%)] — CSS variable: --color-primary: hsl(302, 85%, 78%);