HSL(282, 100%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,100%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 100%, 64%) | color: hsl(282, 100%, 64%) | |
| HEX | #C847FF | color: #C847FF | |
| RGB | rgb(200, 71, 255) | color: rgb(200, 71, 255) | |
| CMYK | cmyk(22%, 72%, 0%, 0%) | — | |
| HSV | hsv(282, 72%, 100%) | — | |
| HWB | hwb(282 28% 0%) | color: hwb(282 28% 0%) | |
| OKLCH | oklch(0.6555 0.2651 313.53) | color: oklch(0.6555 0.2651 313.53) | |
| Lab | lab(56.1 76.38 -68.07) | color: lab(56.1 76.38 -68.07) | |
| LCH | lch(56.1 102.31 318.29) | color: lch(56.1 102.31 318.29) |
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)
#908FD2 — rgb(144, 143, 210)
Deuteranopia (Green-blind)
#98A1C8 — rgb(152, 161, 200)
Tritanopia (Blue-blind)
#C2AFA8 — rgb(194, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 100%, 64%);
text
color: hsl(282, 100%, 64%);
border
border: 2px solid hsl(282, 100%, 64%);
gradient light
background: linear-gradient(to right, hsl(282, 100%, 84%), hsl(282, 100%, 64%));
gradient dark
background: linear-gradient(to right, hsl(282, 100%, 64%), hsl(282, 100%, 44%))
hex
background-color: #C847FF;
tailwind
bg-[hsl(282,100%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 100%, 64%, 0.4);
css variable
--color-primary: hsl(282, 100%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 100%, 64%)?
HEX: #C847FF | RGB: rgb(200, 71, 255) | CMYK: 22%, 72%, 0%, 0% | HSV: 282°, 72%, 100%. Copy any format from the conversion table above.
What colors go well with #C847FF?
The complementary color is HSL(102, 100%, 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, 100%, 64%) in CSS?
As HSL: color: hsl(282, 100%, 64%); — As HEX: color: #C847FF; — As RGB: color: rgb(200, 71, 255); — Tailwind CSS: bg-[hsl(282,100%,64%)] — CSS variable: --color-primary: hsl(282, 100%, 64%);