HSL(297, 80%, 43%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,80%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 80%, 43%) | color: hsl(297, 80%, 43%) | |
| HEX | #BD16C5 | color: #BD16C5 | |
| RGB | rgb(189, 22, 197) | color: rgb(189, 22, 197) | |
| CMYK | cmyk(4%, 89%, 0%, 23%) | — | |
| HSV | hsv(297, 89%, 77%) | — | |
| HWB | hwb(297 8% 23%) | color: hwb(297 8% 23%) | |
| OKLCH | oklch(0.5707 0.2554 326.02) | color: oklch(0.5707 0.2554 326.02) | |
| Lab | lab(46.21 77.31 -51.18) | color: lab(46.21 77.31 -51.18) | |
| LCH | lch(46.21 92.72 326.5) | color: lch(46.21 92.72 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: white
Color Blindness Simulation
Protanopia (Red-blind)
#75739B — rgb(117, 115, 155)
Deuteranopia (Green-blind)
#7E8B91 — rgb(126, 139, 145)
Tritanopia (Blue-blind)
#B57972 — rgb(181, 121, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 80%, 43%);
text
color: hsl(297, 80%, 43%);
border
border: 2px solid hsl(297, 80%, 43%);
gradient light
background: linear-gradient(to right, hsl(297, 80%, 63%), hsl(297, 80%, 43%));
gradient dark
background: linear-gradient(to right, hsl(297, 80%, 43%), hsl(297, 80%, 23%))
hex
background-color: #BD16C5;
tailwind
bg-[hsl(297,80%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 80%, 43%, 0.4);
css variable
--color-primary: hsl(297, 80%, 43%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 80%, 43%)?
HEX: #BD16C5 | RGB: rgb(189, 22, 197) | CMYK: 4%, 89%, 0%, 23% | HSV: 297°, 89%, 77%. Copy any format from the conversion table above.
What colors go well with #BD16C5?
The complementary color is HSL(117, 80%, 43%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 80%, 43%) in CSS?
As HSL: color: hsl(297, 80%, 43%); — As HEX: color: #BD16C5; — As RGB: color: rgb(189, 22, 197); — Tailwind CSS: bg-[hsl(297,80%,43%)] — CSS variable: --color-primary: hsl(297, 80%, 43%);