HSL(312, 91%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,91%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 91%, 76%) | color: hsl(312, 91%, 76%) | |
| HEX | #F98AE3 | color: #F98AE3 | |
| RGB | rgb(249, 138, 227) | color: rgb(249, 138, 227) | |
| CMYK | cmyk(0%, 45%, 9%, 2%) | — | |
| HSV | hsv(312, 45%, 98%) | — | |
| HWB | hwb(312 54% 2%) | color: hwb(312 54% 2%) | |
| OKLCH | oklch(0.7816 0.1712 334.92) | color: oklch(0.7816 0.1712 334.92) | |
| Lab | lab(72.14 53.77 -26.88) | color: lab(72.14 53.77 -26.88) | |
| LCH | lch(72.14 60.11 333.44) | color: lch(72.14 60.11 333.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)
#C9C8CD — rgb(201, 200, 205)
Deuteranopia (Green-blind)
#CFD8C8 — rgb(207, 216, 200)
Tritanopia (Blue-blind)
#F3BCB9 — rgb(243, 188, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 91%, 76%);
text
color: hsl(312, 91%, 76%);
border
border: 2px solid hsl(312, 91%, 76%);
gradient light
background: linear-gradient(to right, hsl(312, 91%, 96%), hsl(312, 91%, 76%));
gradient dark
background: linear-gradient(to right, hsl(312, 91%, 76%), hsl(312, 91%, 56%))
hex
background-color: #F98AE3;
tailwind
bg-[hsl(312,91%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 91%, 76%, 0.4);
css variable
--color-primary: hsl(312, 91%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 91%, 76%)?
HEX: #F98AE3 | RGB: rgb(249, 138, 227) | CMYK: 0%, 45%, 9%, 2% | HSV: 312°, 45%, 98%. Copy any format from the conversion table above.
What colors go well with #F98AE3?
The complementary color is HSL(132, 91%, 76%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 91%, 76%) in CSS?
As HSL: color: hsl(312, 91%, 76%); — As HEX: color: #F98AE3; — As RGB: color: rgb(249, 138, 227); — Tailwind CSS: bg-[hsl(312,91%,76%)] — CSS variable: --color-primary: hsl(312, 91%, 76%);