HSL(283, 87%, 62%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,87%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 87%, 62%) | color: hsl(283, 87%, 62%) | |
| HEX | #C34AF2 | color: #C34AF2 | |
| RGB | rgb(195, 74, 242) | color: rgb(195, 74, 242) | |
| CMYK | cmyk(19%, 69%, 0%, 5%) | — | |
| HSV | hsv(283, 69%, 95%) | — | |
| HWB | hwb(283 29% 5%) | color: hwb(283 29% 5%) | |
| OKLCH | oklch(0.6435 0.2487 314.79) | color: oklch(0.6435 0.2487 314.79) | |
| Lab | lab(54.98 71.77 -62.67) | color: lab(54.98 71.77 -62.67) | |
| LCH | lch(54.98 95.28 318.87) | color: lch(54.98 95.28 318.87) |
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)
#8F8EC9 — rgb(143, 142, 201)
Deuteranopia (Green-blind)
#969FC0 — rgb(150, 159, 192)
Tritanopia (Blue-blind)
#BDA9A2 — rgb(189, 169, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 87%, 62%);
text
color: hsl(283, 87%, 62%);
border
border: 2px solid hsl(283, 87%, 62%);
gradient light
background: linear-gradient(to right, hsl(283, 87%, 82%), hsl(283, 87%, 62%));
gradient dark
background: linear-gradient(to right, hsl(283, 87%, 62%), hsl(283, 87%, 42%))
hex
background-color: #C34AF2;
tailwind
bg-[hsl(283,87%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 87%, 62%, 0.4);
css variable
--color-primary: hsl(283, 87%, 62%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 87%, 62%)?
HEX: #C34AF2 | RGB: rgb(195, 74, 242) | CMYK: 19%, 69%, 0%, 5% | HSV: 283°, 69%, 95%. Copy any format from the conversion table above.
What colors go well with #C34AF2?
The complementary color is HSL(103, 87%, 62%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 87%, 62%) in CSS?
As HSL: color: hsl(283, 87%, 62%); — As HEX: color: #C34AF2; — As RGB: color: rgb(195, 74, 242); — Tailwind CSS: bg-[hsl(283,87%,62%)] — CSS variable: --color-primary: hsl(283, 87%, 62%);