HSL(282, 90%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,90%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 90%, 64%) | color: hsl(282, 90%, 64%) | |
| HEX | #C451F6 | color: #C451F6 | |
| RGB | rgb(196, 81, 246) | color: rgb(196, 81, 246) | |
| CMYK | cmyk(20%, 67%, 0%, 4%) | — | |
| HSV | hsv(282, 67%, 96%) | — | |
| HWB | hwb(282 32% 4%) | color: hwb(282 32% 4%) | |
| OKLCH | oklch(0.6545 0.2444 313.75) | color: oklch(0.6545 0.2444 313.75) | |
| Lab | lab(56.36 69.95 -62.67) | color: lab(56.36 69.95 -62.67) | |
| LCH | lch(56.36 93.92 318.14) | color: lch(56.36 93.92 318.14) |
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)
#9291CE — rgb(146, 145, 206)
Deuteranopia (Green-blind)
#99A2C5 — rgb(153, 162, 197)
Tritanopia (Blue-blind)
#BEAFA8 — rgb(190, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 90%, 64%);
text
color: hsl(282, 90%, 64%);
border
border: 2px solid hsl(282, 90%, 64%);
gradient light
background: linear-gradient(to right, hsl(282, 90%, 84%), hsl(282, 90%, 64%));
gradient dark
background: linear-gradient(to right, hsl(282, 90%, 64%), hsl(282, 90%, 44%))
hex
background-color: #C451F6;
tailwind
bg-[hsl(282,90%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 90%, 64%, 0.4);
css variable
--color-primary: hsl(282, 90%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 90%, 64%)?
HEX: #C451F6 | RGB: rgb(196, 81, 246) | CMYK: 20%, 67%, 0%, 4% | HSV: 282°, 67%, 96%. Copy any format from the conversion table above.
What colors go well with #C451F6?
The complementary color is HSL(102, 90%, 64%). 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, 90%, 64%) in CSS?
As HSL: color: hsl(282, 90%, 64%); — As HEX: color: #C451F6; — As RGB: color: rgb(196, 81, 246); — Tailwind CSS: bg-[hsl(282,90%,64%)] — CSS variable: --color-primary: hsl(282, 90%, 64%);