HSL(296, 90%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,90%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 90%, 76%) | color: hsl(296, 90%, 76%) | |
| HEX | #F28BF9 | color: #F28BF9 | |
| RGB | rgb(242, 139, 249) | color: rgb(242, 139, 249) | |
| CMYK | cmyk(3%, 44%, 0%, 2%) | — | |
| HSV | hsv(296, 44%, 98%) | — | |
| HWB | hwb(296 55% 2%) | color: hwb(296 55% 2%) | |
| OKLCH | oklch(0.7842 0.1841 324.81) | color: oklch(0.7842 0.1841 324.81) | |
| Lab | lab(72.35 55 -38.66) | color: lab(72.35 55 -38.66) | |
| LCH | lch(72.35 67.23 324.9) | color: lch(72.35 67.23 324.9) |
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)
#C5C4DE — rgb(197, 196, 222)
Deuteranopia (Green-blind)
#CBD3D8 — rgb(203, 211, 216)
Tritanopia (Blue-blind)
#EDC9C5 — rgb(237, 201, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 90%, 76%);
text
color: hsl(296, 90%, 76%);
border
border: 2px solid hsl(296, 90%, 76%);
gradient light
background: linear-gradient(to right, hsl(296, 90%, 96%), hsl(296, 90%, 76%));
gradient dark
background: linear-gradient(to right, hsl(296, 90%, 76%), hsl(296, 90%, 56%))
hex
background-color: #F28BF9;
tailwind
bg-[hsl(296,90%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 90%, 76%, 0.4);
css variable
--color-primary: hsl(296, 90%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 90%, 76%)?
HEX: #F28BF9 | RGB: rgb(242, 139, 249) | CMYK: 3%, 44%, 0%, 2% | HSV: 296°, 44%, 98%. Copy any format from the conversion table above.
What colors go well with #F28BF9?
The complementary color is HSL(116, 90%, 76%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 90%, 76%) in CSS?
As HSL: color: hsl(296, 90%, 76%); — As HEX: color: #F28BF9; — As RGB: color: rgb(242, 139, 249); — Tailwind CSS: bg-[hsl(296,90%,76%)] — CSS variable: --color-primary: hsl(296, 90%, 76%);