HSL(300, 25%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(300,25%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(300, 25%, 48%) | color: hsl(300, 25%, 48%) | |
| HEX | #995C99 | color: #995C99 | |
| RGB | rgb(153, 92, 153) | color: rgb(153, 92, 153) | |
| CMYK | cmyk(0%, 40%, 0%, 40%) | — | |
| HSV | hsv(300, 40%, 60%) | — | |
| HWB | hwb(300 36% 40%) | color: hwb(300 36% 40%) | |
| OKLCH | oklch(0.5651 0.115 326.96) | color: oklch(0.5651 0.115 326.96) | |
| Lab | lab(47.91 34.78 -23) | color: lab(47.91 34.78 -23) | |
| LCH | lch(47.91 41.7 326.52) | color: lch(47.91 41.7 326.52) |
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)
#7F7E8A — rgb(127, 126, 138)
Deuteranopia (Green-blind)
#828787 — rgb(130, 135, 135)
Tritanopia (Blue-blind)
#967F7C — rgb(150, 127, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(300, 25%, 48%);
text
color: hsl(300, 25%, 48%);
border
border: 2px solid hsl(300, 25%, 48%);
gradient light
background: linear-gradient(to right, hsl(300, 25%, 68%), hsl(300, 25%, 48%));
gradient dark
background: linear-gradient(to right, hsl(300, 25%, 48%), hsl(300, 25%, 28%))
hex
background-color: #995C99;
tailwind
bg-[hsl(300,25%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(300, 25%, 48%, 0.4);
css variable
--color-primary: hsl(300, 25%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(300, 25%, 48%)?
HEX: #995C99 | RGB: rgb(153, 92, 153) | CMYK: 0%, 40%, 0%, 40% | HSV: 300°, 40%, 60%. Copy any format from the conversion table above.
What colors go well with #995C99?
The complementary color is HSL(120, 25%, 48%). For a triadic harmony, use hues 300°, 60°, and 180°. For analogous combinations, try hues 270° and 330°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(300, 25%, 48%) in CSS?
As HSL: color: hsl(300, 25%, 48%); — As HEX: color: #995C99; — As RGB: color: rgb(153, 92, 153); — Tailwind CSS: bg-[hsl(300,25%,48%)] — CSS variable: --color-primary: hsl(300, 25%, 48%);