HSL(278, 85%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,85%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 85%, 71%) | color: hsl(278, 85%, 71%) | |
| HEX | #C676F4 | color: #C676F4 | |
| RGB | rgb(198, 118, 244) | color: rgb(198, 118, 244) | |
| CMYK | cmyk(19%, 52%, 0%, 4%) | — | |
| HSV | hsv(278, 52%, 96%) | — | |
| HWB | hwb(278 46% 4%) | color: hwb(278 46% 4%) | |
| OKLCH | oklch(0.7024 0.1914 311.75) | color: oklch(0.7024 0.1914 311.75) | |
| Lab | lab(62.92 52.64 -51.08) | color: lab(62.92 52.64 -51.08) | |
| LCH | lch(62.92 73.35 315.86) | color: lch(62.92 73.35 315.86) |
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)
#A3A3D6 — rgb(163, 163, 214)
Deuteranopia (Green-blind)
#A8AECE — rgb(168, 174, 206)
Tritanopia (Blue-blind)
#C2BDB8 — rgb(194, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 85%, 71%);
text
color: hsl(278, 85%, 71%);
border
border: 2px solid hsl(278, 85%, 71%);
gradient light
background: linear-gradient(to right, hsl(278, 85%, 91%), hsl(278, 85%, 71%));
gradient dark
background: linear-gradient(to right, hsl(278, 85%, 71%), hsl(278, 85%, 51%))
hex
background-color: #C676F4;
tailwind
bg-[hsl(278,85%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 85%, 71%, 0.4);
css variable
--color-primary: hsl(278, 85%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 85%, 71%)?
HEX: #C676F4 | RGB: rgb(198, 118, 244) | CMYK: 19%, 52%, 0%, 4% | HSV: 278°, 52%, 96%. Copy any format from the conversion table above.
What colors go well with #C676F4?
The complementary color is HSL(98, 85%, 71%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 85%, 71%) in CSS?
As HSL: color: hsl(278, 85%, 71%); — As HEX: color: #C676F4; — As RGB: color: rgb(198, 118, 244); — Tailwind CSS: bg-[hsl(278,85%,71%)] — CSS variable: --color-primary: hsl(278, 85%, 71%);