HSL(278, 30%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,30%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 30%, 74%) | color: hsl(278, 30%, 74%) | |
| HEX | #C2A9D1 | color: #C2A9D1 | |
| RGB | rgb(194, 169, 209) | color: rgb(194, 169, 209) | |
| CMYK | cmyk(7%, 19%, 0%, 18%) | — | |
| HSV | hsv(278, 19%, 82%) | — | |
| HWB | hwb(278 66% 18%) | color: hwb(278 66% 18%) | |
| OKLCH | oklch(0.7695 0.0623 312.77) | color: oklch(0.7695 0.0623 312.77) | |
| Lab | lab(72.53 16.43 -16.94) | color: lab(72.53 16.43 -16.94) | |
| LCH | lch(72.53 23.6 314.12) | color: lch(72.53 23.6 314.12) |
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)
#B7B7C7 — rgb(183, 183, 199)
Deuteranopia (Green-blind)
#B9BBC5 — rgb(185, 187, 197)
Tritanopia (Blue-blind)
#C1C0BE — rgb(193, 192, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 30%, 74%);
text
color: hsl(278, 30%, 74%);
border
border: 2px solid hsl(278, 30%, 74%);
gradient light
background: linear-gradient(to right, hsl(278, 30%, 94%), hsl(278, 30%, 74%));
gradient dark
background: linear-gradient(to right, hsl(278, 30%, 74%), hsl(278, 30%, 54%))
hex
background-color: #C2A9D1;
tailwind
bg-[hsl(278,30%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 30%, 74%, 0.4);
css variable
--color-primary: hsl(278, 30%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 30%, 74%)?
HEX: #C2A9D1 | RGB: rgb(194, 169, 209) | CMYK: 7%, 19%, 0%, 18% | HSV: 278°, 19%, 82%. Copy any format from the conversion table above.
What colors go well with #C2A9D1?
The complementary color is HSL(98, 30%, 74%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 30%, 74%) in CSS?
As HSL: color: hsl(278, 30%, 74%); — As HEX: color: #C2A9D1; — As RGB: color: rgb(194, 169, 209); — Tailwind CSS: bg-[hsl(278,30%,74%)] — CSS variable: --color-primary: hsl(278, 30%, 74%);