HSL(273, 99%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(273,99%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(273, 99%, 78%) | color: hsl(273, 99%, 78%) | |
| HEX | #CC8FFE | color: #CC8FFE | |
| RGB | rgb(204, 143, 254) | color: rgb(204, 143, 254) | |
| CMYK | cmyk(20%, 44%, 0%, 0%) | — | |
| HSV | hsv(273, 44%, 100%) | — | |
| HWB | hwb(273 56% 0%) | color: hwb(273 56% 0%) | |
| OKLCH | oklch(0.7522 0.1652 308.24) | color: oklch(0.7522 0.1652 308.24) | |
| Lab | lab(69.21 43.24 -46.6) | color: lab(69.21 43.24 -46.6) | |
| LCH | lch(69.21 63.57 312.86) | color: lch(69.21 63.57 312.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)
#B2B1E3 — rgb(178, 177, 227)
Deuteranopia (Green-blind)
#B5BADD — rgb(181, 186, 221)
Tritanopia (Blue-blind)
#C9CEC9 — rgb(201, 206, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(273, 99%, 78%);
text
color: hsl(273, 99%, 78%);
border
border: 2px solid hsl(273, 99%, 78%);
gradient light
background: linear-gradient(to right, hsl(273, 99%, 98%), hsl(273, 99%, 78%));
gradient dark
background: linear-gradient(to right, hsl(273, 99%, 78%), hsl(273, 99%, 58%))
hex
background-color: #CC8FFE;
tailwind
bg-[hsl(273,99%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(273, 99%, 78%, 0.4);
css variable
--color-primary: hsl(273, 99%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(273, 99%, 78%)?
HEX: #CC8FFE | RGB: rgb(204, 143, 254) | CMYK: 20%, 44%, 0%, 0% | HSV: 273°, 44%, 100%. Copy any format from the conversion table above.
What colors go well with #CC8FFE?
The complementary color is HSL(93, 99%, 78%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(273, 99%, 78%) in CSS?
As HSL: color: hsl(273, 99%, 78%); — As HEX: color: #CC8FFE; — As RGB: color: rgb(204, 143, 254); — Tailwind CSS: bg-[hsl(273,99%,78%)] — CSS variable: --color-primary: hsl(273, 99%, 78%);