HSL(305, 30%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(305,30%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(305, 30%, 62%) | color: hsl(305, 30%, 62%) | |
| HEX | #BB81B6 | color: #BB81B6 | |
| RGB | rgb(187, 129, 182) | color: rgb(187, 129, 182) | |
| CMYK | cmyk(0%, 31%, 3%, 27%) | — | |
| HSV | hsv(305, 31%, 73%) | — | |
| HWB | hwb(305 50% 27%) | color: hwb(305 50% 27%) | |
| OKLCH | oklch(0.679 0.1007 329.61) | color: oklch(0.679 0.1007 329.61) | |
| Lab | lab(61.35 30.99 -18.89) | color: lab(61.35 30.99 -18.89) | |
| LCH | lch(61.35 36.29 328.64) | color: lch(61.35 36.29 328.64) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A2A1A9 — rgb(162, 161, 169)
Deuteranopia (Green-blind)
#A5AAA6 — rgb(165, 170, 166)
Tritanopia (Blue-blind)
#B89F9D — rgb(184, 159, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(305, 30%, 62%);
text
color: hsl(305, 30%, 62%);
border
border: 2px solid hsl(305, 30%, 62%);
gradient light
background: linear-gradient(to right, hsl(305, 30%, 82%), hsl(305, 30%, 62%));
gradient dark
background: linear-gradient(to right, hsl(305, 30%, 62%), hsl(305, 30%, 42%))
hex
background-color: #BB81B6;
tailwind
bg-[hsl(305,30%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(305, 30%, 62%, 0.4);
css variable
--color-primary: hsl(305, 30%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(305, 30%, 62%)?
HEX: #BB81B6 | RGB: rgb(187, 129, 182) | CMYK: 0%, 31%, 3%, 27% | HSV: 305°, 31%, 73%. Copy any format from the conversion table above.
What colors go well with #BB81B6?
The complementary color is HSL(125, 30%, 62%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(305, 30%, 62%) in CSS?
As HSL: color: hsl(305, 30%, 62%); — As HEX: color: #BB81B6; — As RGB: color: rgb(187, 129, 182); — Tailwind CSS: bg-[hsl(305,30%,62%)] — CSS variable: --color-primary: hsl(305, 30%, 62%);