HSL(292, 69%, 51%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,69%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 69%, 51%) | color: hsl(292, 69%, 51%) | |
| HEX | #C12CD8 | color: #C12CD8 | |
| RGB | rgb(193, 44, 216) | color: rgb(193, 44, 216) | |
| CMYK | cmyk(11%, 80%, 0%, 15%) | — | |
| HSV | hsv(292, 80%, 85%) | — | |
| HWB | hwb(292 17% 15%) | color: hwb(292 17% 15%) | |
| OKLCH | oklch(0.5997 0.2564 321.76) | color: oklch(0.5997 0.2564 321.76) | |
| Lab | lab(49.62 76.53 -56.63) | color: lab(49.62 76.53 -56.63) | |
| LCH | lch(49.62 95.2 323.5) | color: lch(49.62 95.2 323.5) |
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)
#807FAE — rgb(128, 127, 174)
Deuteranopia (Green-blind)
#8994A4 — rgb(137, 148, 164)
Tritanopia (Blue-blind)
#BA8E86 — rgb(186, 142, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 69%, 51%);
text
color: hsl(292, 69%, 51%);
border
border: 2px solid hsl(292, 69%, 51%);
gradient light
background: linear-gradient(to right, hsl(292, 69%, 71%), hsl(292, 69%, 51%));
gradient dark
background: linear-gradient(to right, hsl(292, 69%, 51%), hsl(292, 69%, 31%))
hex
background-color: #C12CD8;
tailwind
bg-[hsl(292,69%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 69%, 51%, 0.4);
css variable
--color-primary: hsl(292, 69%, 51%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 69%, 51%)?
HEX: #C12CD8 | RGB: rgb(193, 44, 216) | CMYK: 11%, 80%, 0%, 15% | HSV: 292°, 80%, 85%. Copy any format from the conversion table above.
What colors go well with #C12CD8?
The complementary color is HSL(112, 69%, 51%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 69%, 51%) in CSS?
As HSL: color: hsl(292, 69%, 51%); — As HEX: color: #C12CD8; — As RGB: color: rgb(193, 44, 216); — Tailwind CSS: bg-[hsl(292,69%,51%)] — CSS variable: --color-primary: hsl(292, 69%, 51%);