HSL(262, 39%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,39%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 39%, 74%) | color: hsl(262, 39%, 74%) | |
| HEX | #B6A3D7 | color: #B6A3D7 | |
| RGB | rgb(182, 163, 215) | color: rgb(182, 163, 215) | |
| CMYK | cmyk(15%, 24%, 0%, 16%) | — | |
| HSV | hsv(262, 24%, 84%) | — | |
| HWB | hwb(262 64% 16%) | color: hwb(262 64% 16%) | |
| OKLCH | oklch(0.7497 0.0763 301.3) | color: oklch(0.7497 0.0763 301.3) | |
| Lab | lab(70.21 17.1 -23.85) | color: lab(70.21 17.1 -23.85) | |
| LCH | lch(70.21 29.35 305.64) | color: lch(70.21 29.35 305.64) |
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)
#AEAECA — rgb(174, 174, 202)
Deuteranopia (Green-blind)
#AFB0C7 — rgb(175, 176, 199)
Tritanopia (Blue-blind)
#B5C0BE — rgb(181, 192, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 39%, 74%);
text
color: hsl(262, 39%, 74%);
border
border: 2px solid hsl(262, 39%, 74%);
gradient light
background: linear-gradient(to right, hsl(262, 39%, 94%), hsl(262, 39%, 74%));
gradient dark
background: linear-gradient(to right, hsl(262, 39%, 74%), hsl(262, 39%, 54%))
hex
background-color: #B6A3D7;
tailwind
bg-[hsl(262,39%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 39%, 74%, 0.4);
css variable
--color-primary: hsl(262, 39%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 39%, 74%)?
HEX: #B6A3D7 | RGB: rgb(182, 163, 215) | CMYK: 15%, 24%, 0%, 16% | HSV: 262°, 24%, 84%. Copy any format from the conversion table above.
What colors go well with #B6A3D7?
The complementary color is HSL(82, 39%, 74%). 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, 39%, 74%) in CSS?
As HSL: color: hsl(262, 39%, 74%); — As HEX: color: #B6A3D7; — As RGB: color: rgb(182, 163, 215); — Tailwind CSS: bg-[hsl(262,39%,74%)] — CSS variable: --color-primary: hsl(262, 39%, 74%);