HSL(307, 45%, 59%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,45%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 45%, 59%) | color: hsl(307, 45%, 59%) | |
| HEX | #C567BB | color: #C567BB | |
| RGB | rgb(197, 103, 187) | color: rgb(197, 103, 187) | |
| CMYK | cmyk(0%, 48%, 5%, 23%) | — | |
| HSV | hsv(306, 48%, 77%) | — | |
| HWB | hwb(306 40% 23%) | color: hwb(306 40% 23%) | |
| OKLCH | oklch(0.6513 0.1584 331.29) | color: oklch(0.6513 0.1584 331.29) | |
| Lab | lab(57.23 48.92 -27.96) | color: lab(57.23 48.92 -27.96) | |
| LCH | lch(57.23 56.35 330.25) | color: lch(57.23 56.35 330.25) |
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)
#9C9BA7 — rgb(156, 155, 167)
Deuteranopia (Green-blind)
#A2A9A2 — rgb(162, 169, 162)
Tritanopia (Blue-blind)
#C09793 — rgb(192, 151, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 45%, 59%);
text
color: hsl(307, 45%, 59%);
border
border: 2px solid hsl(307, 45%, 59%);
gradient light
background: linear-gradient(to right, hsl(307, 45%, 79%), hsl(307, 45%, 59%));
gradient dark
background: linear-gradient(to right, hsl(307, 45%, 59%), hsl(307, 45%, 39%))
hex
background-color: #C567BB;
tailwind
bg-[hsl(307,45%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 45%, 59%, 0.4);
css variable
--color-primary: hsl(307, 45%, 59%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 45%, 59%)?
HEX: #C567BB | RGB: rgb(197, 103, 187) | CMYK: 0%, 48%, 5%, 23% | HSV: 306°, 48%, 77%. Copy any format from the conversion table above.
What colors go well with #C567BB?
The complementary color is HSL(127, 45%, 59%). 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, 45%, 59%) in CSS?
As HSL: color: hsl(307, 45%, 59%); — As HEX: color: #C567BB; — As RGB: color: rgb(197, 103, 187); — Tailwind CSS: bg-[hsl(307,45%,59%)] — CSS variable: --color-primary: hsl(307, 45%, 59%);