HSL(272, 90%, 75%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,90%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 90%, 75%) | color: hsl(272, 90%, 75%) | |
| HEX | #C386F9 | color: #C386F9 | |
| RGB | rgb(195, 134, 249) | color: rgb(195, 134, 249) | |
| CMYK | cmyk(22%, 46%, 0%, 2%) | — | |
| HSV | hsv(272, 46%, 98%) | — | |
| HWB | hwb(272 53% 2%) | color: hwb(272 53% 2%) | |
| OKLCH | oklch(0.7263 0.1709 307.13) | color: oklch(0.7263 0.1709 307.13) | |
| Lab | lab(66.13 44.51 -48.78) | color: lab(66.13 44.51 -48.78) | |
| LCH | lch(66.13 66.04 312.38) | color: lch(66.13 66.04 312.38) |
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)
#A9A8DD — rgb(169, 168, 221)
Deuteranopia (Green-blind)
#ACB1D7 — rgb(172, 177, 215)
Tritanopia (Blue-blind)
#C0C7C2 — rgb(192, 199, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 90%, 75%);
text
color: hsl(272, 90%, 75%);
border
border: 2px solid hsl(272, 90%, 75%);
gradient light
background: linear-gradient(to right, hsl(272, 90%, 95%), hsl(272, 90%, 75%));
gradient dark
background: linear-gradient(to right, hsl(272, 90%, 75%), hsl(272, 90%, 55%))
hex
background-color: #C386F9;
tailwind
bg-[hsl(272,90%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 90%, 75%, 0.4);
css variable
--color-primary: hsl(272, 90%, 75%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 90%, 75%)?
HEX: #C386F9 | RGB: rgb(195, 134, 249) | CMYK: 22%, 46%, 0%, 2% | HSV: 272°, 46%, 98%. Copy any format from the conversion table above.
What colors go well with #C386F9?
The complementary color is HSL(92, 90%, 75%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 90%, 75%) in CSS?
As HSL: color: hsl(272, 90%, 75%); — As HEX: color: #C386F9; — As RGB: color: rgb(195, 134, 249); — Tailwind CSS: bg-[hsl(272,90%,75%)] — CSS variable: --color-primary: hsl(272, 90%, 75%);