HSL(314, 40%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(314,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(314, 40%, 53%) | color: hsl(314, 40%, 53%) | |
| HEX | #B757A1 | color: #B757A1 | |
| RGB | rgb(183, 87, 161) | color: rgb(183, 87, 161) | |
| CMYK | cmyk(0%, 52%, 12%, 28%) | — | |
| HSV | hsv(314, 52%, 72%) | — | |
| HWB | hwb(314 35% 28%) | color: hwb(314 35% 28%) | |
| OKLCH | oklch(0.5992 0.1531 336.86) | color: oklch(0.5992 0.1531 336.86) | |
| Lab | lab(51.22 48.29 -22.3) | color: lab(51.22 48.29 -22.3) | |
| LCH | lch(51.22 53.19 335.21) | color: lch(51.22 53.19 335.21) |
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)
#8D8D8F — rgb(141, 141, 143)
Deuteranopia (Green-blind)
#939A8B — rgb(147, 154, 139)
Tritanopia (Blue-blind)
#B2817E — rgb(178, 129, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(314, 40%, 53%);
text
color: hsl(314, 40%, 53%);
border
border: 2px solid hsl(314, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(314, 40%, 73%), hsl(314, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(314, 40%, 53%), hsl(314, 40%, 33%))
hex
background-color: #B757A1;
tailwind
bg-[hsl(314,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(314, 40%, 53%, 0.4);
css variable
--color-primary: hsl(314, 40%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(314, 40%, 53%)?
HEX: #B757A1 | RGB: rgb(183, 87, 161) | CMYK: 0%, 52%, 12%, 28% | HSV: 314°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #B757A1?
The complementary color is HSL(134, 40%, 53%). For a triadic harmony, use hues 314°, 74°, and 194°. For analogous combinations, try hues 284° and 344°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(314, 40%, 53%) in CSS?
As HSL: color: hsl(314, 40%, 53%); — As HEX: color: #B757A1; — As RGB: color: rgb(183, 87, 161); — Tailwind CSS: bg-[hsl(314,40%,53%)] — CSS variable: --color-primary: hsl(314, 40%, 53%);