HSL(274, 75%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,75%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 75%, 82%) | color: hsl(274, 75%, 82%) | |
| HEX | #D6AFF4 | color: #D6AFF4 | |
| RGB | rgb(214, 175, 244) | color: rgb(214, 175, 244) | |
| CMYK | cmyk(12%, 28%, 0%, 4%) | — | |
| HSV | hsv(274, 28%, 96%) | — | |
| HWB | hwb(274 69% 4%) | color: hwb(274 69% 4%) | |
| OKLCH | oklch(0.8119 0.1035 309.9) | color: oklch(0.8119 0.1035 309.9) | |
| Lab | lab(76.97 26.7 -29.04) | color: lab(76.97 26.7 -29.04) | |
| LCH | lch(76.97 39.45 312.6) | color: lch(76.97 39.45 312.6) |
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)
#C5C5E3 — rgb(197, 197, 227)
Deuteranopia (Green-blind)
#C7CADF — rgb(199, 202, 223)
Tritanopia (Blue-blind)
#D4D6D3 — rgb(212, 214, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 75%, 82%);
text
color: hsl(274, 75%, 82%);
border
border: 2px solid hsl(274, 75%, 82%);
gradient light
background: linear-gradient(to right, hsl(274, 75%, 100%), hsl(274, 75%, 82%));
gradient dark
background: linear-gradient(to right, hsl(274, 75%, 82%), hsl(274, 75%, 62%))
hex
background-color: #D6AFF4;
tailwind
bg-[hsl(274,75%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 75%, 82%, 0.4);
css variable
--color-primary: hsl(274, 75%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 75%, 82%)?
HEX: #D6AFF4 | RGB: rgb(214, 175, 244) | CMYK: 12%, 28%, 0%, 4% | HSV: 274°, 28%, 96%. Copy any format from the conversion table above.
What colors go well with #D6AFF4?
The complementary color is HSL(94, 75%, 82%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 75%, 82%) in CSS?
As HSL: color: hsl(274, 75%, 82%); — As HEX: color: #D6AFF4; — As RGB: color: rgb(214, 175, 244); — Tailwind CSS: bg-[hsl(274,75%,82%)] — CSS variable: --color-primary: hsl(274, 75%, 82%);