HSL(285, 30%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,30%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 30%, 65%) | color: hsl(285, 30%, 65%) | |
| HEX | #B38BC1 | color: #B38BC1 | |
| RGB | rgb(179, 139, 193) | color: rgb(179, 139, 193) | |
| CMYK | cmyk(7%, 28%, 0%, 24%) | — | |
| HSV | hsv(284, 28%, 76%) | — | |
| HWB | hwb(284 55% 24%) | color: hwb(284 55% 24%) | |
| OKLCH | oklch(0.6931 0.0891 317.18) | color: oklch(0.6931 0.0891 317.18) | |
| Lab | lab(63.26 24.91 -22.26) | color: lab(63.26 24.91 -22.26) | |
| LCH | lch(63.26 33.41 318.22) | color: lch(63.26 33.41 318.22) |
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)
#A2A1B4 — rgb(162, 161, 180)
Deuteranopia (Green-blind)
#A4A7B1 — rgb(164, 167, 177)
Tritanopia (Blue-blind)
#B1AAA7 — rgb(177, 170, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 30%, 65%);
text
color: hsl(285, 30%, 65%);
border
border: 2px solid hsl(285, 30%, 65%);
gradient light
background: linear-gradient(to right, hsl(285, 30%, 85%), hsl(285, 30%, 65%));
gradient dark
background: linear-gradient(to right, hsl(285, 30%, 65%), hsl(285, 30%, 45%))
hex
background-color: #B38BC1;
tailwind
bg-[hsl(285,30%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 30%, 65%, 0.4);
css variable
--color-primary: hsl(285, 30%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 30%, 65%)?
HEX: #B38BC1 | RGB: rgb(179, 139, 193) | CMYK: 7%, 28%, 0%, 24% | HSV: 284°, 28%, 76%. Copy any format from the conversion table above.
What colors go well with #B38BC1?
The complementary color is HSL(105, 30%, 65%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 30%, 65%) in CSS?
As HSL: color: hsl(285, 30%, 65%); — As HEX: color: #B38BC1; — As RGB: color: rgb(179, 139, 193); — Tailwind CSS: bg-[hsl(285,30%,65%)] — CSS variable: --color-primary: hsl(285, 30%, 65%);