HSL(298, 65%, 44%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(298,65%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 65%, 44%) | color: hsl(298, 65%, 44%) | |
| HEX | #B427B9 | color: #B427B9 | |
| RGB | rgb(180, 39, 185) | color: rgb(180, 39, 185) | |
| CMYK | cmyk(3%, 79%, 0%, 27%) | — | |
| HSV | hsv(298, 79%, 73%) | — | |
| HWB | hwb(298 15% 27%) | color: hwb(298 15% 27%) | |
| OKLCH | oklch(0.5581 0.232 326.58) | color: oklch(0.5581 0.232 326.58) | |
| Lab | lab(45.16 70.26 -45.94) | color: lab(45.16 70.26 -45.94) | |
| LCH | lch(45.16 83.95 326.82) | color: lch(45.16 83.95 326.82) |
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)
#777696 — rgb(119, 118, 150)
Deuteranopia (Green-blind)
#7F8A8D — rgb(127, 138, 141)
Tritanopia (Blue-blind)
#AD7A74 — rgb(173, 122, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 65%, 44%);
text
color: hsl(298, 65%, 44%);
border
border: 2px solid hsl(298, 65%, 44%);
gradient light
background: linear-gradient(to right, hsl(298, 65%, 64%), hsl(298, 65%, 44%));
gradient dark
background: linear-gradient(to right, hsl(298, 65%, 44%), hsl(298, 65%, 24%))
hex
background-color: #B427B9;
tailwind
bg-[hsl(298,65%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 65%, 44%, 0.4);
css variable
--color-primary: hsl(298, 65%, 44%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 65%, 44%)?
HEX: #B427B9 | RGB: rgb(180, 39, 185) | CMYK: 3%, 79%, 0%, 27% | HSV: 298°, 79%, 73%. Copy any format from the conversion table above.
What colors go well with #B427B9?
The complementary color is HSL(118, 65%, 44%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(298, 65%, 44%) in CSS?
As HSL: color: hsl(298, 65%, 44%); — As HEX: color: #B427B9; — As RGB: color: rgb(180, 39, 185); — Tailwind CSS: bg-[hsl(298,65%,44%)] — CSS variable: --color-primary: hsl(298, 65%, 44%);