HSL(262, 38%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,38%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 38%, 72%) | color: hsl(262, 38%, 72%) | |
| HEX | #B09CD3 | color: #B09CD3 | |
| RGB | rgb(176, 156, 211) | color: rgb(176, 156, 211) | |
| CMYK | cmyk(17%, 26%, 0%, 17%) | — | |
| HSV | hsv(262, 26%, 83%) | — | |
| HWB | hwb(262 61% 17%) | color: hwb(262 61% 17%) | |
| OKLCH | oklch(0.7295 0.0811 301.07) | color: oklch(0.7295 0.0811 301.07) | |
| Lab | lab(67.81 18.23 -25.37) | color: lab(67.81 18.23 -25.37) | |
| LCH | lch(67.81 31.24 305.7) | color: lch(67.81 31.24 305.7) |
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)
#A7A7C6 — rgb(167, 167, 198)
Deuteranopia (Green-blind)
#A9AAC3 — rgb(169, 170, 195)
Tritanopia (Blue-blind)
#AFBBB9 — rgb(175, 187, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 38%, 72%);
text
color: hsl(262, 38%, 72%);
border
border: 2px solid hsl(262, 38%, 72%);
gradient light
background: linear-gradient(to right, hsl(262, 38%, 92%), hsl(262, 38%, 72%));
gradient dark
background: linear-gradient(to right, hsl(262, 38%, 72%), hsl(262, 38%, 52%))
hex
background-color: #B09CD3;
tailwind
bg-[hsl(262,38%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 38%, 72%, 0.4);
css variable
--color-primary: hsl(262, 38%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 38%, 72%)?
HEX: #B09CD3 | RGB: rgb(176, 156, 211) | CMYK: 17%, 26%, 0%, 17% | HSV: 262°, 26%, 83%. Copy any format from the conversion table above.
What colors go well with #B09CD3?
The complementary color is HSL(82, 38%, 72%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 38%, 72%) in CSS?
As HSL: color: hsl(262, 38%, 72%); — As HEX: color: #B09CD3; — As RGB: color: rgb(176, 156, 211); — Tailwind CSS: bg-[hsl(262,38%,72%)] — CSS variable: --color-primary: hsl(262, 38%, 72%);