HSL(268, 49%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,49%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 49%, 79%) | color: hsl(268, 49%, 79%) | |
| HEX | #C8AFE4 | color: #C8AFE4 | |
| RGB | rgb(200, 175, 228) | color: rgb(200, 175, 228) | |
| CMYK | cmyk(12%, 23%, 0%, 11%) | — | |
| HSV | hsv(268, 23%, 89%) | — | |
| HWB | hwb(268 69% 11%) | color: hwb(268 69% 11%) | |
| OKLCH | oklch(0.7932 0.0784 306.12) | color: oklch(0.7932 0.0784 306.12) | |
| Lab | lab(75.16 18.98 -23.25) | color: lab(75.16 18.98 -23.25) | |
| LCH | lch(75.16 30.01 309.23) | color: lch(75.16 30.01 309.23) |
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)
#BDBDD7 — rgb(189, 189, 215)
Deuteranopia (Green-blind)
#BFC1D4 — rgb(191, 193, 212)
Tritanopia (Blue-blind)
#C7CDCB — rgb(199, 205, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 49%, 79%);
text
color: hsl(268, 49%, 79%);
border
border: 2px solid hsl(268, 49%, 79%);
gradient light
background: linear-gradient(to right, hsl(268, 49%, 99%), hsl(268, 49%, 79%));
gradient dark
background: linear-gradient(to right, hsl(268, 49%, 79%), hsl(268, 49%, 59%))
hex
background-color: #C8AFE4;
tailwind
bg-[hsl(268,49%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 49%, 79%, 0.4);
css variable
--color-primary: hsl(268, 49%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 49%, 79%)?
HEX: #C8AFE4 | RGB: rgb(200, 175, 228) | CMYK: 12%, 23%, 0%, 11% | HSV: 268°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #C8AFE4?
The complementary color is HSL(88, 49%, 79%). 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, 49%, 79%) in CSS?
As HSL: color: hsl(268, 49%, 79%); — As HEX: color: #C8AFE4; — As RGB: color: rgb(200, 175, 228); — Tailwind CSS: bg-[hsl(268,49%,79%)] — CSS variable: --color-primary: hsl(268, 49%, 79%);