HSL(282, 79%, 65%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,79%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 79%, 65%) | color: hsl(282, 79%, 65%) | |
| HEX | #C25FEC | color: #C25FEC | |
| RGB | rgb(194, 95, 236) | color: rgb(194, 95, 236) | |
| CMYK | cmyk(18%, 60%, 0%, 7%) | — | |
| HSV | hsv(282, 60%, 93%) | — | |
| HWB | hwb(282 37% 7%) | color: hwb(282 37% 7%) | |
| OKLCH | oklch(0.6621 0.2157 314.51) | color: oklch(0.6621 0.2157 314.51) | |
| Lab | lab(57.76 61.32 -54.87) | color: lab(57.76 61.32 -54.87) | |
| LCH | lch(57.76 82.29 318.18) | color: lch(57.76 82.29 318.18) |
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)
#9796CA — rgb(151, 150, 202)
Deuteranopia (Green-blind)
#9DA4C2 — rgb(157, 164, 194)
Tritanopia (Blue-blind)
#BDAFA9 — rgb(189, 175, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 79%, 65%);
text
color: hsl(282, 79%, 65%);
border
border: 2px solid hsl(282, 79%, 65%);
gradient light
background: linear-gradient(to right, hsl(282, 79%, 85%), hsl(282, 79%, 65%));
gradient dark
background: linear-gradient(to right, hsl(282, 79%, 65%), hsl(282, 79%, 45%))
hex
background-color: #C25FEC;
tailwind
bg-[hsl(282,79%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 79%, 65%, 0.4);
css variable
--color-primary: hsl(282, 79%, 65%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 79%, 65%)?
HEX: #C25FEC | RGB: rgb(194, 95, 236) | CMYK: 18%, 60%, 0%, 7% | HSV: 282°, 60%, 93%. Copy any format from the conversion table above.
What colors go well with #C25FEC?
The complementary color is HSL(102, 79%, 65%). 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, 79%, 65%) in CSS?
As HSL: color: hsl(282, 79%, 65%); — As HEX: color: #C25FEC; — As RGB: color: rgb(194, 95, 236); — Tailwind CSS: bg-[hsl(282,79%,65%)] — CSS variable: --color-primary: hsl(282, 79%, 65%);