HSL(270, 60%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,60%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 60%, 78%) | color: hsl(270, 60%, 78%) | |
| HEX | #C7A5E9 | color: #C7A5E9 | |
| RGB | rgb(199, 165, 233) | color: rgb(199, 165, 233) | |
| CMYK | cmyk(15%, 29%, 0%, 9%) | — | |
| HSV | hsv(270, 29%, 91%) | — | |
| HWB | hwb(270 65% 9%) | color: hwb(270 65% 9%) | |
| OKLCH | oklch(0.7758 0.1014 306.99) | color: oklch(0.7758 0.1014 306.99) | |
| Lab | lab(72.85 25.21 -29.53) | color: lab(72.85 25.21 -29.53) | |
| LCH | lch(72.85 38.83 310.49) | color: lch(72.85 38.83 310.49) |
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)
#B8B8D9 — rgb(184, 184, 217)
Deuteranopia (Green-blind)
#BABDD5 — rgb(186, 189, 213)
Tritanopia (Blue-blind)
#C5CCC9 — rgb(197, 204, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 60%, 78%);
text
color: hsl(270, 60%, 78%);
border
border: 2px solid hsl(270, 60%, 78%);
gradient light
background: linear-gradient(to right, hsl(270, 60%, 98%), hsl(270, 60%, 78%));
gradient dark
background: linear-gradient(to right, hsl(270, 60%, 78%), hsl(270, 60%, 58%))
hex
background-color: #C7A5E9;
tailwind
bg-[hsl(270,60%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 60%, 78%, 0.4);
css variable
--color-primary: hsl(270, 60%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 60%, 78%)?
HEX: #C7A5E9 | RGB: rgb(199, 165, 233) | CMYK: 15%, 29%, 0%, 9% | HSV: 270°, 29%, 91%. Copy any format from the conversion table above.
What colors go well with #C7A5E9?
The complementary color is HSL(90, 60%, 78%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 60%, 78%) in CSS?
As HSL: color: hsl(270, 60%, 78%); — As HEX: color: #C7A5E9; — As RGB: color: rgb(199, 165, 233); — Tailwind CSS: bg-[hsl(270,60%,78%)] — CSS variable: --color-primary: hsl(270, 60%, 78%);