HSL(302, 51%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,51%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 51%, 47%) | color: hsl(302, 51%, 47%) | |
| HEX | #B53BB1 | color: #B53BB1 | |
| RGB | rgb(181, 59, 177) | color: rgb(181, 59, 177) | |
| CMYK | cmyk(0%, 67%, 2%, 29%) | — | |
| HSV | hsv(302, 67%, 71%) | — | |
| HWB | hwb(302 23% 29%) | color: hwb(302 23% 29%) | |
| OKLCH | oklch(0.5712 0.2055 329.23) | color: oklch(0.5712 0.2055 329.23) | |
| Lab | lab(47.14 62.71 -38.09) | color: lab(47.14 62.71 -38.09) | |
| LCH | lch(47.14 73.37 328.73) | color: lch(47.14 73.37 328.73) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#807F94 — rgb(128, 127, 148)
Deuteranopia (Green-blind)
#87908E — rgb(135, 144, 142)
Tritanopia (Blue-blind)
#AF7E79 — rgb(175, 126, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 51%, 47%);
text
color: hsl(302, 51%, 47%);
border
border: 2px solid hsl(302, 51%, 47%);
gradient light
background: linear-gradient(to right, hsl(302, 51%, 67%), hsl(302, 51%, 47%));
gradient dark
background: linear-gradient(to right, hsl(302, 51%, 47%), hsl(302, 51%, 27%))
hex
background-color: #B53BB1;
tailwind
bg-[hsl(302,51%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 51%, 47%, 0.4);
css variable
--color-primary: hsl(302, 51%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 51%, 47%)?
HEX: #B53BB1 | RGB: rgb(181, 59, 177) | CMYK: 0%, 67%, 2%, 29% | HSV: 302°, 67%, 71%. Copy any format from the conversion table above.
What colors go well with #B53BB1?
The complementary color is HSL(122, 51%, 47%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 51%, 47%) in CSS?
As HSL: color: hsl(302, 51%, 47%); — As HEX: color: #B53BB1; — As RGB: color: rgb(181, 59, 177); — Tailwind CSS: bg-[hsl(302,51%,47%)] — CSS variable: --color-primary: hsl(302, 51%, 47%);