HSL(303, 72%, 43%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,72%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 72%, 43%) | color: hsl(303, 72%, 43%) | |
| HEX | #BD1FB5 | color: #BD1FB5 | |
| RGB | rgb(189, 31, 181) | color: rgb(189, 31, 181) | |
| CMYK | cmyk(0%, 84%, 4%, 26%) | — | |
| HSV | hsv(303, 84%, 74%) | — | |
| HWB | hwb(303 12% 26%) | color: hwb(303 12% 26%) | |
| OKLCH | oklch(0.565 0.2392 330.61) | color: oklch(0.565 0.2392 330.61) | |
| Lab | lab(45.82 73.26 -42.45) | color: lab(45.82 73.26 -42.45) | |
| LCH | lch(45.82 84.67 329.91) | color: lch(45.82 84.67 329.91) |
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)
#797791 — rgb(121, 119, 145)
Deuteranopia (Green-blind)
#828E88 — rgb(130, 142, 136)
Tritanopia (Blue-blind)
#B5746E — rgb(181, 116, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 72%, 43%);
text
color: hsl(303, 72%, 43%);
border
border: 2px solid hsl(303, 72%, 43%);
gradient light
background: linear-gradient(to right, hsl(303, 72%, 63%), hsl(303, 72%, 43%));
gradient dark
background: linear-gradient(to right, hsl(303, 72%, 43%), hsl(303, 72%, 23%))
hex
background-color: #BD1FB5;
tailwind
bg-[hsl(303,72%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 72%, 43%, 0.4);
css variable
--color-primary: hsl(303, 72%, 43%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 72%, 43%)?
HEX: #BD1FB5 | RGB: rgb(189, 31, 181) | CMYK: 0%, 84%, 4%, 26% | HSV: 303°, 84%, 74%. Copy any format from the conversion table above.
What colors go well with #BD1FB5?
The complementary color is HSL(123, 72%, 43%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 72%, 43%) in CSS?
As HSL: color: hsl(303, 72%, 43%); — As HEX: color: #BD1FB5; — As RGB: color: rgb(189, 31, 181); — Tailwind CSS: bg-[hsl(303,72%,43%)] — CSS variable: --color-primary: hsl(303, 72%, 43%);