HSL(299, 55%, 46%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,55%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 55%, 46%) | color: hsl(299, 55%, 46%) | |
| HEX | #B435B6 | color: #B435B6 | |
| RGB | rgb(180, 53, 182) | color: rgb(180, 53, 182) | |
| CMYK | cmyk(1%, 71%, 0%, 29%) | — | |
| HSV | hsv(299, 71%, 71%) | — | |
| HWB | hwb(299 21% 29%) | color: hwb(299 21% 29%) | |
| OKLCH | oklch(0.567 0.216 327.31) | color: oklch(0.567 0.216 327.31) | |
| Lab | lab(46.48 65.49 -42.08) | color: lab(46.48 65.49 -42.08) | |
| LCH | lch(46.48 77.84 327.28) | color: lch(46.48 77.84 327.28) |
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)
#7D7C97 — rgb(125, 124, 151)
Deuteranopia (Green-blind)
#848E8F — rgb(132, 142, 143)
Tritanopia (Blue-blind)
#AE7E79 — rgb(174, 126, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 55%, 46%);
text
color: hsl(299, 55%, 46%);
border
border: 2px solid hsl(299, 55%, 46%);
gradient light
background: linear-gradient(to right, hsl(299, 55%, 66%), hsl(299, 55%, 46%));
gradient dark
background: linear-gradient(to right, hsl(299, 55%, 46%), hsl(299, 55%, 26%))
hex
background-color: #B435B6;
tailwind
bg-[hsl(299,55%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 55%, 46%, 0.4);
css variable
--color-primary: hsl(299, 55%, 46%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 55%, 46%)?
HEX: #B435B6 | RGB: rgb(180, 53, 182) | CMYK: 1%, 71%, 0%, 29% | HSV: 299°, 71%, 71%. Copy any format from the conversion table above.
What colors go well with #B435B6?
The complementary color is HSL(119, 55%, 46%). 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, 55%, 46%) in CSS?
As HSL: color: hsl(299, 55%, 46%); — As HEX: color: #B435B6; — As RGB: color: rgb(180, 53, 182); — Tailwind CSS: bg-[hsl(299,55%,46%)] — CSS variable: --color-primary: hsl(299, 55%, 46%);