HSL(307, 23%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,23%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 23%, 65%) | color: hsl(307, 23%, 65%) | |
| HEX | #BA91B5 | color: #BA91B5 | |
| RGB | rgb(186, 145, 181) | color: rgb(186, 145, 181) | |
| CMYK | cmyk(0%, 22%, 3%, 27%) | — | |
| HSV | hsv(307, 22%, 73%) | — | |
| HWB | hwb(307 57% 27%) | color: hwb(307 57% 27%) | |
| OKLCH | oklch(0.7065 0.0696 330.42) | color: oklch(0.7065 0.0696 330.42) | |
| Lab | lab(64.98 21.57 -12.84) | color: lab(64.98 21.57 -12.84) | |
| LCH | lch(64.98 25.1 329.24) | color: lch(64.98 25.1 329.24) |
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)
#A8A8AC — rgb(168, 168, 172)
Deuteranopia (Green-blind)
#ABAEAA — rgb(171, 174, 170)
Tritanopia (Blue-blind)
#B8A5A4 — rgb(184, 165, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 23%, 65%);
text
color: hsl(307, 23%, 65%);
border
border: 2px solid hsl(307, 23%, 65%);
gradient light
background: linear-gradient(to right, hsl(307, 23%, 85%), hsl(307, 23%, 65%));
gradient dark
background: linear-gradient(to right, hsl(307, 23%, 65%), hsl(307, 23%, 45%))
hex
background-color: #BA91B5;
tailwind
bg-[hsl(307,23%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 23%, 65%, 0.4);
css variable
--color-primary: hsl(307, 23%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 23%, 65%)?
HEX: #BA91B5 | RGB: rgb(186, 145, 181) | CMYK: 0%, 22%, 3%, 27% | HSV: 307°, 22%, 73%. Copy any format from the conversion table above.
What colors go well with #BA91B5?
The complementary color is HSL(127, 23%, 65%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 23%, 65%) in CSS?
As HSL: color: hsl(307, 23%, 65%); — As HEX: color: #BA91B5; — As RGB: color: rgb(186, 145, 181); — Tailwind CSS: bg-[hsl(307,23%,65%)] — CSS variable: --color-primary: hsl(307, 23%, 65%);