HSL(277, 88%, 75%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,88%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 88%, 75%) | color: hsl(277, 88%, 75%) | |
| HEX | #CC87F7 | color: #CC87F7 | |
| RGB | rgb(204, 135, 247) | color: rgb(204, 135, 247) | |
| CMYK | cmyk(17%, 45%, 0%, 3%) | — | |
| HSV | hsv(277, 45%, 97%) | — | |
| HWB | hwb(277 53% 3%) | color: hwb(277 53% 3%) | |
| OKLCH | oklch(0.736 0.17 311.25) | color: oklch(0.736 0.17 311.25) | |
| Lab | lab(67.19 46 -45.95) | color: lab(67.19 46 -45.95) | |
| LCH | lch(67.19 65.02 315.03) | color: lch(67.19 65.02 315.03) |
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)
#AEAEDC — rgb(174, 174, 220)
Deuteranopia (Green-blind)
#B2B7D5 — rgb(178, 183, 213)
Tritanopia (Blue-blind)
#C9C7C2 — rgb(201, 199, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 88%, 75%);
text
color: hsl(277, 88%, 75%);
border
border: 2px solid hsl(277, 88%, 75%);
gradient light
background: linear-gradient(to right, hsl(277, 88%, 95%), hsl(277, 88%, 75%));
gradient dark
background: linear-gradient(to right, hsl(277, 88%, 75%), hsl(277, 88%, 55%))
hex
background-color: #CC87F7;
tailwind
bg-[hsl(277,88%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 88%, 75%, 0.4);
css variable
--color-primary: hsl(277, 88%, 75%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 88%, 75%)?
HEX: #CC87F7 | RGB: rgb(204, 135, 247) | CMYK: 17%, 45%, 0%, 3% | HSV: 277°, 45%, 97%. Copy any format from the conversion table above.
What colors go well with #CC87F7?
The complementary color is HSL(97, 88%, 75%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 88%, 75%) in CSS?
As HSL: color: hsl(277, 88%, 75%); — As HEX: color: #CC87F7; — As RGB: color: rgb(204, 135, 247); — Tailwind CSS: bg-[hsl(277,88%,75%)] — CSS variable: --color-primary: hsl(277, 88%, 75%);