HSL(312, 20%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,20%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 20%, 70%) | color: hsl(312, 20%, 70%) | |
| HEX | #C2A3BC | color: #C2A3BC | |
| RGB | rgb(194, 163, 188) | color: rgb(194, 163, 188) | |
| CMYK | cmyk(0%, 16%, 3%, 24%) | — | |
| HSV | hsv(312, 16%, 76%) | — | |
| HWB | hwb(312 64% 24%) | color: hwb(312 64% 24%) | |
| OKLCH | oklch(0.7507 0.0497 332.71) | color: oklch(0.7507 0.0497 332.71) | |
| Lab | lab(70.38 15.68 -8.59) | color: lab(70.38 15.68 -8.59) | |
| LCH | lch(70.38 17.88 331.28) | color: lch(70.38 17.88 331.28) |
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)
#B5B4B6 — rgb(181, 180, 182)
Deuteranopia (Green-blind)
#B6B9B5 — rgb(182, 185, 181)
Tritanopia (Blue-blind)
#C0B1B0 — rgb(192, 177, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 20%, 70%);
text
color: hsl(312, 20%, 70%);
border
border: 2px solid hsl(312, 20%, 70%);
gradient light
background: linear-gradient(to right, hsl(312, 20%, 90%), hsl(312, 20%, 70%));
gradient dark
background: linear-gradient(to right, hsl(312, 20%, 70%), hsl(312, 20%, 50%))
hex
background-color: #C2A3BC;
tailwind
bg-[hsl(312,20%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 20%, 70%, 0.4);
css variable
--color-primary: hsl(312, 20%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 20%, 70%)?
HEX: #C2A3BC | RGB: rgb(194, 163, 188) | CMYK: 0%, 16%, 3%, 24% | HSV: 312°, 16%, 76%. Copy any format from the conversion table above.
What colors go well with #C2A3BC?
The complementary color is HSL(132, 20%, 70%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 20%, 70%) in CSS?
As HSL: color: hsl(312, 20%, 70%); — As HEX: color: #C2A3BC; — As RGB: color: rgb(194, 163, 188); — Tailwind CSS: bg-[hsl(312,20%,70%)] — CSS variable: --color-primary: hsl(312, 20%, 70%);