HSL(299, 55%, 38%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,55%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 55%, 38%) | color: hsl(299, 55%, 38%) | |
| HEX | #942C96 | color: #942C96 | |
| RGB | rgb(148, 44, 150) | color: rgb(148, 44, 150) | |
| CMYK | cmyk(1%, 71%, 0%, 41%) | — | |
| HSV | hsv(299, 71%, 59%) | — | |
| HWB | hwb(299 17% 41%) | color: hwb(299 17% 41%) | |
| OKLCH | oklch(0.4929 0.1848 327.14) | color: oklch(0.4929 0.1848 327.14) | |
| Lab | lab(38.38 56 -36.18) | color: lab(38.38 56 -36.18) | |
| LCH | lch(38.38 66.67 327.13) | color: lch(38.38 66.67 327.13) |
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)
#67667C — rgb(103, 102, 124)
Deuteranopia (Green-blind)
#6D7576 — rgb(109, 117, 118)
Tritanopia (Blue-blind)
#8F6864 — rgb(143, 104, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 55%, 38%);
text
color: hsl(299, 55%, 38%);
border
border: 2px solid hsl(299, 55%, 38%);
gradient light
background: linear-gradient(to right, hsl(299, 55%, 58%), hsl(299, 55%, 38%));
gradient dark
background: linear-gradient(to right, hsl(299, 55%, 38%), hsl(299, 55%, 18%))
hex
background-color: #942C96;
tailwind
bg-[hsl(299,55%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 55%, 38%, 0.4);
css variable
--color-primary: hsl(299, 55%, 38%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 55%, 38%)?
HEX: #942C96 | RGB: rgb(148, 44, 150) | CMYK: 1%, 71%, 0%, 41% | HSV: 299°, 71%, 59%. Copy any format from the conversion table above.
What colors go well with #942C96?
The complementary color is HSL(119, 55%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(299, 55%, 38%); — As HEX: color: #942C96; — As RGB: color: rgb(148, 44, 150); — Tailwind CSS: bg-[hsl(299,55%,38%)] — CSS variable: --color-primary: hsl(299, 55%, 38%);