HSL(306, 79%, 81%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,79%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 79%, 81%) | color: hsl(306, 79%, 81%) | |
| HEX | #F5A8ED | color: #F5A8ED | |
| RGB | rgb(245, 168, 237) | color: rgb(245, 168, 237) | |
| CMYK | cmyk(0%, 31%, 3%, 4%) | — | |
| HSV | hsv(306, 31%, 96%) | — | |
| HWB | hwb(306 66% 4%) | color: hwb(306 66% 4%) | |
| OKLCH | oklch(0.8274 0.1259 330.3) | color: oklch(0.8274 0.1259 330.3) | |
| Lab | lab(78.19 38.87 -23.13) | color: lab(78.19 38.87 -23.13) | |
| LCH | lch(78.19 45.23 329.24) | color: lch(78.19 45.23 329.24) |
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)
#D4D3DC — rgb(212, 211, 220)
Deuteranopia (Green-blind)
#D8DED8 — rgb(216, 222, 216)
Tritanopia (Blue-blind)
#F1CFCC — rgb(241, 207, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 79%, 81%);
text
color: hsl(306, 79%, 81%);
border
border: 2px solid hsl(306, 79%, 81%);
gradient light
background: linear-gradient(to right, hsl(306, 79%, 100%), hsl(306, 79%, 81%));
gradient dark
background: linear-gradient(to right, hsl(306, 79%, 81%), hsl(306, 79%, 61%))
hex
background-color: #F5A8ED;
tailwind
bg-[hsl(306,79%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 79%, 81%, 0.4);
css variable
--color-primary: hsl(306, 79%, 81%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 79%, 81%)?
HEX: #F5A8ED | RGB: rgb(245, 168, 237) | CMYK: 0%, 31%, 3%, 4% | HSV: 306°, 31%, 96%. Copy any format from the conversion table above.
What colors go well with #F5A8ED?
The complementary color is HSL(126, 79%, 81%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 79%, 81%) in CSS?
As HSL: color: hsl(306, 79%, 81%); — As HEX: color: #F5A8ED; — As RGB: color: rgb(245, 168, 237); — Tailwind CSS: bg-[hsl(306,79%,81%)] — CSS variable: --color-primary: hsl(306, 79%, 81%);