HSL(282, 30%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,30%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 30%, 66%) | color: hsl(282, 30%, 66%) | |
| HEX | #B38EC2 | color: #B38EC2 | |
| RGB | rgb(179, 142, 194) | color: rgb(179, 142, 194) | |
| CMYK | cmyk(8%, 27%, 0%, 24%) | — | |
| HSV | hsv(283, 27%, 76%) | — | |
| HWB | hwb(283 55% 24%) | color: hwb(283 55% 24%) | |
| OKLCH | oklch(0.699 0.0849 316.04) | color: oklch(0.699 0.0849 316.04) | |
| Lab | lab(64.02 23.43 -21.67) | color: lab(64.02 23.43 -21.67) | |
| LCH | lch(64.02 31.91 317.23) | color: lch(64.02 31.91 317.23) |
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)
#A3A3B5 — rgb(163, 163, 181)
Deuteranopia (Green-blind)
#A5A8B2 — rgb(165, 168, 178)
Tritanopia (Blue-blind)
#B1ABA9 — rgb(177, 171, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 30%, 66%);
text
color: hsl(282, 30%, 66%);
border
border: 2px solid hsl(282, 30%, 66%);
gradient light
background: linear-gradient(to right, hsl(282, 30%, 86%), hsl(282, 30%, 66%));
gradient dark
background: linear-gradient(to right, hsl(282, 30%, 66%), hsl(282, 30%, 46%))
hex
background-color: #B38EC2;
tailwind
bg-[hsl(282,30%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 30%, 66%, 0.4);
css variable
--color-primary: hsl(282, 30%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 30%, 66%)?
HEX: #B38EC2 | RGB: rgb(179, 142, 194) | CMYK: 8%, 27%, 0%, 24% | HSV: 283°, 27%, 76%. Copy any format from the conversion table above.
What colors go well with #B38EC2?
The complementary color is HSL(102, 30%, 66%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 30%, 66%) in CSS?
As HSL: color: hsl(282, 30%, 66%); — As HEX: color: #B38EC2; — As RGB: color: rgb(179, 142, 194); — Tailwind CSS: bg-[hsl(282,30%,66%)] — CSS variable: --color-primary: hsl(282, 30%, 66%);