HSL(282, 97%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,97%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 97%, 60%) | color: hsl(282, 97%, 60%) | |
| HEX | #C136FC | color: #C136FC | |
| RGB | rgb(193, 54, 252) | color: rgb(193, 54, 252) | |
| CMYK | cmyk(23%, 79%, 0%, 1%) | — | |
| HSV | hsv(282, 79%, 99%) | — | |
| HWB | hwb(282 21% 1%) | color: hwb(282 21% 1%) | |
| OKLCH | oklch(0.6307 0.2766 312.94) | color: oklch(0.6307 0.2766 312.94) | |
| Lab | lab(52.96 80.2 -71.53) | color: lab(52.96 80.2 -71.53) | |
| LCH | lch(52.96 107.46 318.27) | color: lch(52.96 107.46 318.27) |
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)
#8584CC — rgb(133, 132, 204)
Deuteranopia (Green-blind)
#8D97C1 — rgb(141, 151, 193)
Tritanopia (Blue-blind)
#BAA69E — rgb(186, 166, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 97%, 60%);
text
color: hsl(282, 97%, 60%);
border
border: 2px solid hsl(282, 97%, 60%);
gradient light
background: linear-gradient(to right, hsl(282, 97%, 80%), hsl(282, 97%, 60%));
gradient dark
background: linear-gradient(to right, hsl(282, 97%, 60%), hsl(282, 97%, 40%))
hex
background-color: #C136FC;
tailwind
bg-[hsl(282,97%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 97%, 60%, 0.4);
css variable
--color-primary: hsl(282, 97%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 97%, 60%)?
HEX: #C136FC | RGB: rgb(193, 54, 252) | CMYK: 23%, 79%, 0%, 1% | HSV: 282°, 79%, 99%. Copy any format from the conversion table above.
What colors go well with #C136FC?
The complementary color is HSL(102, 97%, 60%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 97%, 60%) in CSS?
As HSL: color: hsl(282, 97%, 60%); — As HEX: color: #C136FC; — As RGB: color: rgb(193, 54, 252); — Tailwind CSS: bg-[hsl(282,97%,60%)] — CSS variable: --color-primary: hsl(282, 97%, 60%);