HSL(299, 40%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 40%, 53%) | color: hsl(299, 40%, 53%) | |
| HEX | #B557B7 | color: #B557B7 | |
| RGB | rgb(181, 87, 183) | color: rgb(181, 87, 183) | |
| CMYK | cmyk(1%, 52%, 0%, 28%) | — | |
| HSV | hsv(299, 52%, 72%) | — | |
| HWB | hwb(299 35% 28%) | color: hwb(299 35% 28%) | |
| OKLCH | oklch(0.6069 0.1706 326.64) | color: oklch(0.6069 0.1706 326.64) | |
| Lab | lab(51.91 51.52 -34.1) | color: lab(51.91 51.52 -34.1) | |
| LCH | lch(51.91 61.78 326.5) | color: lch(51.91 61.78 326.5) |
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)
#8C8BA0 — rgb(140, 139, 160)
Deuteranopia (Green-blind)
#92999A — rgb(146, 153, 154)
Tritanopia (Blue-blind)
#B08D89 — rgb(176, 141, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 40%, 53%);
text
color: hsl(299, 40%, 53%);
border
border: 2px solid hsl(299, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(299, 40%, 73%), hsl(299, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(299, 40%, 53%), hsl(299, 40%, 33%))
hex
background-color: #B557B7;
tailwind
bg-[hsl(299,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 40%, 53%, 0.4);
css variable
--color-primary: hsl(299, 40%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 40%, 53%)?
HEX: #B557B7 | RGB: rgb(181, 87, 183) | CMYK: 1%, 52%, 0%, 28% | HSV: 299°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #B557B7?
The complementary color is HSL(119, 40%, 53%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 40%, 53%) in CSS?
As HSL: color: hsl(299, 40%, 53%); — As HEX: color: #B557B7; — As RGB: color: rgb(181, 87, 183); — Tailwind CSS: bg-[hsl(299,40%,53%)] — CSS variable: --color-primary: hsl(299, 40%, 53%);