HSL(268, 100%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,100%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 100%, 78%) | color: hsl(268, 100%, 78%) | |
| HEX | #C38FFF | color: #C38FFF | |
| RGB | rgb(195, 143, 255) | color: rgb(195, 143, 255) | |
| CMYK | cmyk(24%, 44%, 0%, 0%) | — | |
| HSV | hsv(268, 44%, 100%) | — | |
| HWB | hwb(268 56% 0%) | color: hwb(268 56% 0%) | |
| OKLCH | oklch(0.7439 0.1637 304.12) | color: oklch(0.7439 0.1637 304.12) | |
| Lab | lab(68.36 41 -48.54) | color: lab(68.36 41 -48.54) | |
| LCH | lch(68.36 63.54 310.19) | color: lch(68.36 63.54 310.19) |
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)
#ACACE4 — rgb(172, 172, 228)
Deuteranopia (Green-blind)
#B0B3DD — rgb(176, 179, 221)
Tritanopia (Blue-blind)
#C0CFCA — rgb(192, 207, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 100%, 78%);
text
color: hsl(268, 100%, 78%);
border
border: 2px solid hsl(268, 100%, 78%);
gradient light
background: linear-gradient(to right, hsl(268, 100%, 98%), hsl(268, 100%, 78%));
gradient dark
background: linear-gradient(to right, hsl(268, 100%, 78%), hsl(268, 100%, 58%))
hex
background-color: #C38FFF;
tailwind
bg-[hsl(268,100%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 100%, 78%, 0.4);
css variable
--color-primary: hsl(268, 100%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 100%, 78%)?
HEX: #C38FFF | RGB: rgb(195, 143, 255) | CMYK: 24%, 44%, 0%, 0% | HSV: 268°, 44%, 100%. Copy any format from the conversion table above.
What colors go well with #C38FFF?
The complementary color is HSL(88, 100%, 78%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 100%, 78%) in CSS?
As HSL: color: hsl(268, 100%, 78%); — As HEX: color: #C38FFF; — As RGB: color: rgb(195, 143, 255); — Tailwind CSS: bg-[hsl(268,100%,78%)] — CSS variable: --color-primary: hsl(268, 100%, 78%);