HSL(281, 48%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,48%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 48%, 66%) | color: hsl(281, 48%, 66%) | |
| HEX | #B87FD2 | color: #B87FD2 | |
| RGB | rgb(184, 127, 210) | color: rgb(184, 127, 210) | |
| CMYK | cmyk(12%, 40%, 0%, 18%) | — | |
| HSV | hsv(281, 40%, 82%) | — | |
| HWB | hwb(281 49% 18%) | color: hwb(281 49% 18%) | |
| OKLCH | oklch(0.6844 0.1328 314.69) | color: oklch(0.6844 0.1328 314.69) | |
| Lab | lab(61.67 36.7 -34.22) | color: lab(61.67 36.7 -34.22) | |
| LCH | lch(61.67 50.18 317) | color: lch(61.67 50.18 317) |
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)
#9F9FBE — rgb(159, 159, 190)
Deuteranopia (Green-blind)
#A3A7B9 — rgb(163, 167, 185)
Tritanopia (Blue-blind)
#B5AEAB — rgb(181, 174, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 48%, 66%);
text
color: hsl(281, 48%, 66%);
border
border: 2px solid hsl(281, 48%, 66%);
gradient light
background: linear-gradient(to right, hsl(281, 48%, 86%), hsl(281, 48%, 66%));
gradient dark
background: linear-gradient(to right, hsl(281, 48%, 66%), hsl(281, 48%, 46%))
hex
background-color: #B87FD2;
tailwind
bg-[hsl(281,48%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 48%, 66%, 0.4);
css variable
--color-primary: hsl(281, 48%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 48%, 66%)?
HEX: #B87FD2 | RGB: rgb(184, 127, 210) | CMYK: 12%, 40%, 0%, 18% | HSV: 281°, 40%, 82%. Copy any format from the conversion table above.
What colors go well with #B87FD2?
The complementary color is HSL(101, 48%, 66%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 48%, 66%) in CSS?
As HSL: color: hsl(281, 48%, 66%); — As HEX: color: #B87FD2; — As RGB: color: rgb(184, 127, 210); — Tailwind CSS: bg-[hsl(281,48%,66%)] — CSS variable: --color-primary: hsl(281, 48%, 66%);