HSL(281, 97%, 56%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,97%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 97%, 56%) | color: hsl(281, 97%, 56%) | |
| HEX | #B722FC | color: #B722FC | |
| RGB | rgb(183, 34, 252) | color: rgb(183, 34, 252) | |
| CMYK | cmyk(27%, 87%, 0%, 1%) | — | |
| HSV | hsv(281, 87%, 99%) | — | |
| HWB | hwb(281 13% 1%) | color: hwb(281 13% 1%) | |
| OKLCH | oklch(0.6057 0.2879 310.77) | color: oklch(0.6057 0.2879 310.77) | |
| Lab | lab(49.79 83.7 -76.75) | color: lab(49.79 83.7 -76.75) | |
| LCH | lch(49.79 113.56 317.48) | color: lch(49.79 113.56 317.48) |
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)
#7675C7 — rgb(118, 117, 199)
Deuteranopia (Green-blind)
#7F8ABB — rgb(127, 138, 187)
Tritanopia (Blue-blind)
#B09E94 — rgb(176, 158, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 97%, 56%);
text
color: hsl(281, 97%, 56%);
border
border: 2px solid hsl(281, 97%, 56%);
gradient light
background: linear-gradient(to right, hsl(281, 97%, 76%), hsl(281, 97%, 56%));
gradient dark
background: linear-gradient(to right, hsl(281, 97%, 56%), hsl(281, 97%, 36%))
hex
background-color: #B722FC;
tailwind
bg-[hsl(281,97%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 97%, 56%, 0.4);
css variable
--color-primary: hsl(281, 97%, 56%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 97%, 56%)?
HEX: #B722FC | RGB: rgb(183, 34, 252) | CMYK: 27%, 87%, 0%, 1% | HSV: 281°, 87%, 99%. Copy any format from the conversion table above.
What colors go well with #B722FC?
The complementary color is HSL(101, 97%, 56%). 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, 97%, 56%) in CSS?
As HSL: color: hsl(281, 97%, 56%); — As HEX: color: #B722FC; — As RGB: color: rgb(183, 34, 252); — Tailwind CSS: bg-[hsl(281,97%,56%)] — CSS variable: --color-primary: hsl(281, 97%, 56%);