HSL(272, 83%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,83%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 83%, 68%) | color: hsl(272, 83%, 68%) | |
| HEX | #B26AF1 | color: #B26AF1 | |
| RGB | rgb(178, 106, 241) | color: rgb(178, 106, 241) | |
| CMYK | cmyk(26%, 56%, 0%, 5%) | — | |
| HSV | hsv(272, 56%, 95%) | — | |
| HWB | hwb(272 42% 5%) | color: hwb(272 42% 5%) | |
| OKLCH | oklch(0.6618 0.1998 306.32) | color: oklch(0.6618 0.1998 306.32) | |
| Lab | lab(58.15 53.14 -57.14) | color: lab(58.15 53.14 -57.14) | |
| LCH | lch(58.15 78.03 312.92) | color: lch(58.15 78.03 312.92) |
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)
#9392D0 — rgb(147, 146, 208)
Deuteranopia (Green-blind)
#979CC9 — rgb(151, 156, 201)
Tritanopia (Blue-blind)
#AEB7B1 — rgb(174, 183, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 83%, 68%);
text
color: hsl(272, 83%, 68%);
border
border: 2px solid hsl(272, 83%, 68%);
gradient light
background: linear-gradient(to right, hsl(272, 83%, 88%), hsl(272, 83%, 68%));
gradient dark
background: linear-gradient(to right, hsl(272, 83%, 68%), hsl(272, 83%, 48%))
hex
background-color: #B26AF1;
tailwind
bg-[hsl(272,83%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 83%, 68%, 0.4);
css variable
--color-primary: hsl(272, 83%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 83%, 68%)?
HEX: #B26AF1 | RGB: rgb(178, 106, 241) | CMYK: 26%, 56%, 0%, 5% | HSV: 272°, 56%, 95%. Copy any format from the conversion table above.
What colors go well with #B26AF1?
The complementary color is HSL(92, 83%, 68%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 83%, 68%) in CSS?
As HSL: color: hsl(272, 83%, 68%); — As HEX: color: #B26AF1; — As RGB: color: rgb(178, 106, 241); — Tailwind CSS: bg-[hsl(272,83%,68%)] — CSS variable: --color-primary: hsl(272, 83%, 68%);