HSL(292, 67%, 46%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,67%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 67%, 46%) | color: hsl(292, 67%, 46%) | |
| HEX | #AF27C4 | color: #AF27C4 | |
| RGB | rgb(175, 39, 196) | color: rgb(175, 39, 196) | |
| CMYK | cmyk(11%, 80%, 0%, 23%) | — | |
| HSV | hsv(292, 80%, 77%) | — | |
| HWB | hwb(292 15% 23%) | color: hwb(292 15% 23%) | |
| OKLCH | oklch(0.5576 0.2384 321.76) | color: oklch(0.5576 0.2384 321.76) | |
| Lab | lab(45.01 71.15 -52.65) | color: lab(45.01 71.15 -52.65) | |
| LCH | lch(45.01 88.51 323.5) | color: lch(45.01 88.51 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: white
Color Blindness Simulation
Protanopia (Red-blind)
#74739E — rgb(116, 115, 158)
Deuteranopia (Green-blind)
#7C8695 — rgb(124, 134, 149)
Tritanopia (Blue-blind)
#A88079 — rgb(168, 128, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 67%, 46%);
text
color: hsl(292, 67%, 46%);
border
border: 2px solid hsl(292, 67%, 46%);
gradient light
background: linear-gradient(to right, hsl(292, 67%, 66%), hsl(292, 67%, 46%));
gradient dark
background: linear-gradient(to right, hsl(292, 67%, 46%), hsl(292, 67%, 26%))
hex
background-color: #AF27C4;
tailwind
bg-[hsl(292,67%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 67%, 46%, 0.4);
css variable
--color-primary: hsl(292, 67%, 46%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 67%, 46%)?
HEX: #AF27C4 | RGB: rgb(175, 39, 196) | CMYK: 11%, 80%, 0%, 23% | HSV: 292°, 80%, 77%. Copy any format from the conversion table above.
What colors go well with #AF27C4?
The complementary color is HSL(112, 67%, 46%). 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, 67%, 46%) in CSS?
As HSL: color: hsl(292, 67%, 46%); — As HEX: color: #AF27C4; — As RGB: color: rgb(175, 39, 196); — Tailwind CSS: bg-[hsl(292,67%,46%)] — CSS variable: --color-primary: hsl(292, 67%, 46%);