HSL(270, 50%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 50%, 70%) | color: hsl(270, 50%, 70%) | |
| HEX | #B38CD9 | color: #B38CD9 | |
| RGB | rgb(179, 140, 217) | color: rgb(179, 140, 217) | |
| CMYK | cmyk(18%, 35%, 0%, 15%) | — | |
| HSV | hsv(270, 35%, 85%) | — | |
| HWB | hwb(270 55% 15%) | color: hwb(270 55% 15%) | |
| OKLCH | oklch(0.7052 0.1169 306.87) | color: oklch(0.7052 0.1169 306.87) | |
| Lab | lab(64.44 29.48 -33.87) | color: lab(64.44 29.48 -33.87) | |
| LCH | lch(64.44 44.9 311.04) | color: lch(64.44 44.9 311.04) |
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)
#A2A2C6 — rgb(162, 162, 198)
Deuteranopia (Green-blind)
#A4A7C2 — rgb(164, 167, 194)
Tritanopia (Blue-blind)
#B1B8B4 — rgb(177, 184, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 50%, 70%);
text
color: hsl(270, 50%, 70%);
border
border: 2px solid hsl(270, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(270, 50%, 90%), hsl(270, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(270, 50%, 70%), hsl(270, 50%, 50%))
hex
background-color: #B38CD9;
tailwind
bg-[hsl(270,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 50%, 70%, 0.4);
css variable
--color-primary: hsl(270, 50%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 50%, 70%)?
HEX: #B38CD9 | RGB: rgb(179, 140, 217) | CMYK: 18%, 35%, 0%, 15% | HSV: 270°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #B38CD9?
The complementary color is HSL(90, 50%, 70%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 50%, 70%) in CSS?
As HSL: color: hsl(270, 50%, 70%); — As HEX: color: #B38CD9; — As RGB: color: rgb(179, 140, 217); — Tailwind CSS: bg-[hsl(270,50%,70%)] — CSS variable: --color-primary: hsl(270, 50%, 70%);