HSL(301, 43%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,43%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 43%, 62%) | color: hsl(301, 43%, 62%) | |
| HEX | #C874C6 | color: #C874C6 | |
| RGB | rgb(200, 116, 198) | color: rgb(200, 116, 198) | |
| CMYK | cmyk(0%, 42%, 1%, 22%) | — | |
| HSV | hsv(301, 42%, 78%) | — | |
| HWB | hwb(301 45% 22%) | color: hwb(301 45% 22%) | |
| OKLCH | oklch(0.6791 0.1484 327.91) | color: oklch(0.6791 0.1484 327.91) | |
| Lab | lab(60.65 45.11 -28.91) | color: lab(60.65 45.11 -28.91) | |
| LCH | lch(60.65 53.58 327.35) | color: lch(60.65 53.58 327.35) |
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)
#A4A3B2 — rgb(164, 163, 178)
Deuteranopia (Green-blind)
#A9AFAD — rgb(169, 175, 173)
Tritanopia (Blue-blind)
#C4A29F — rgb(196, 162, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 43%, 62%);
text
color: hsl(301, 43%, 62%);
border
border: 2px solid hsl(301, 43%, 62%);
gradient light
background: linear-gradient(to right, hsl(301, 43%, 82%), hsl(301, 43%, 62%));
gradient dark
background: linear-gradient(to right, hsl(301, 43%, 62%), hsl(301, 43%, 42%))
hex
background-color: #C874C6;
tailwind
bg-[hsl(301,43%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 43%, 62%, 0.4);
css variable
--color-primary: hsl(301, 43%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 43%, 62%)?
HEX: #C874C6 | RGB: rgb(200, 116, 198) | CMYK: 0%, 42%, 1%, 22% | HSV: 301°, 42%, 78%. Copy any format from the conversion table above.
What colors go well with #C874C6?
The complementary color is HSL(121, 43%, 62%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 43%, 62%) in CSS?
As HSL: color: hsl(301, 43%, 62%); — As HEX: color: #C874C6; — As RGB: color: rgb(200, 116, 198); — Tailwind CSS: bg-[hsl(301,43%,62%)] — CSS variable: --color-primary: hsl(301, 43%, 62%);