HSL(273, 68%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(273,68%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(273, 68%, 71%) | color: hsl(273, 68%, 71%) | |
| HEX | #BA83E7 | color: #BA83E7 | |
| RGB | rgb(186, 131, 231) | color: rgb(186, 131, 231) | |
| CMYK | cmyk(19%, 43%, 0%, 9%) | — | |
| HSV | hsv(273, 43%, 91%) | — | |
| HWB | hwb(273 52% 9%) | color: hwb(273 52% 9%) | |
| OKLCH | oklch(0.7033 0.1515 308.31) | color: oklch(0.7033 0.1515 308.31) | |
| Lab | lab(63.71 39.64 -42.74) | color: lab(63.71 39.64 -42.74) | |
| LCH | lch(63.71 58.29 312.84) | color: lch(63.71 58.29 312.84) |
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)
#A2A2CF — rgb(162, 162, 207)
Deuteranopia (Green-blind)
#A5AAC9 — rgb(165, 170, 201)
Tritanopia (Blue-blind)
#B7BCB8 — rgb(183, 188, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(273, 68%, 71%);
text
color: hsl(273, 68%, 71%);
border
border: 2px solid hsl(273, 68%, 71%);
gradient light
background: linear-gradient(to right, hsl(273, 68%, 91%), hsl(273, 68%, 71%));
gradient dark
background: linear-gradient(to right, hsl(273, 68%, 71%), hsl(273, 68%, 51%))
hex
background-color: #BA83E7;
tailwind
bg-[hsl(273,68%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(273, 68%, 71%, 0.4);
css variable
--color-primary: hsl(273, 68%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(273, 68%, 71%)?
HEX: #BA83E7 | RGB: rgb(186, 131, 231) | CMYK: 19%, 43%, 0%, 9% | HSV: 273°, 43%, 91%. Copy any format from the conversion table above.
What colors go well with #BA83E7?
The complementary color is HSL(93, 68%, 71%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(273, 68%, 71%) in CSS?
As HSL: color: hsl(273, 68%, 71%); — As HEX: color: #BA83E7; — As RGB: color: rgb(186, 131, 231); — Tailwind CSS: bg-[hsl(273,68%,71%)] — CSS variable: --color-primary: hsl(273, 68%, 71%);