HSL(307, 22%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,22%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 22%, 71%) | color: hsl(307, 22%, 71%) | |
| HEX | #C5A5C2 | color: #C5A5C2 | |
| RGB | rgb(197, 165, 194) | color: rgb(197, 165, 194) | |
| CMYK | cmyk(0%, 16%, 2%, 23%) | — | |
| HSV | hsv(306, 16%, 77%) | — | |
| HWB | hwb(306 65% 23%) | color: hwb(306 65% 23%) | |
| OKLCH | oklch(0.7593 0.0543 329.14) | color: oklch(0.7593 0.0543 329.14) | |
| Lab | lab(71.33 16.74 -10.45) | color: lab(71.33 16.74 -10.45) | |
| LCH | lch(71.33 19.73 328.03) | color: lch(71.33 19.73 328.03) |
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)
#B7B7BB — rgb(183, 183, 187)
Deuteranopia (Green-blind)
#B9BBB9 — rgb(185, 187, 185)
Tritanopia (Blue-blind)
#C3B5B4 — rgb(195, 181, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 22%, 71%);
text
color: hsl(307, 22%, 71%);
border
border: 2px solid hsl(307, 22%, 71%);
gradient light
background: linear-gradient(to right, hsl(307, 22%, 91%), hsl(307, 22%, 71%));
gradient dark
background: linear-gradient(to right, hsl(307, 22%, 71%), hsl(307, 22%, 51%))
hex
background-color: #C5A5C2;
tailwind
bg-[hsl(307,22%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 22%, 71%, 0.4);
css variable
--color-primary: hsl(307, 22%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 22%, 71%)?
HEX: #C5A5C2 | RGB: rgb(197, 165, 194) | CMYK: 0%, 16%, 2%, 23% | HSV: 306°, 16%, 77%. Copy any format from the conversion table above.
What colors go well with #C5A5C2?
The complementary color is HSL(127, 22%, 71%). 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, 22%, 71%) in CSS?
As HSL: color: hsl(307, 22%, 71%); — As HEX: color: #C5A5C2; — As RGB: color: rgb(197, 165, 194); — Tailwind CSS: bg-[hsl(307,22%,71%)] — CSS variable: --color-primary: hsl(307, 22%, 71%);