HSL(272, 100%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,100%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 100%, 81%) | color: hsl(272, 100%, 81%) | |
| HEX | #D29EFF | color: #D29EFF | |
| RGB | rgb(210, 158, 255) | color: rgb(210, 158, 255) | |
| CMYK | cmyk(18%, 38%, 0%, 0%) | — | |
| HSV | hsv(272, 38%, 100%) | — | |
| HWB | hwb(272 62% 0%) | color: hwb(272 62% 0%) | |
| OKLCH | oklch(0.7833 0.1439 308.02) | color: oklch(0.7833 0.1439 308.02) | |
| Lab | lab(73.14 37.06 -40.95) | color: lab(73.14 37.06 -40.95) | |
| LCH | lch(73.14 55.23 312.15) | color: lch(73.14 55.23 312.15) |
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)
#BBBBE8 — rgb(187, 187, 232)
Deuteranopia (Green-blind)
#BFC2E2 — rgb(191, 194, 226)
Tritanopia (Blue-blind)
#CFD5D1 — rgb(207, 213, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 100%, 81%);
text
color: hsl(272, 100%, 81%);
border
border: 2px solid hsl(272, 100%, 81%);
gradient light
background: linear-gradient(to right, hsl(272, 100%, 100%), hsl(272, 100%, 81%));
gradient dark
background: linear-gradient(to right, hsl(272, 100%, 81%), hsl(272, 100%, 61%))
hex
background-color: #D29EFF;
tailwind
bg-[hsl(272,100%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 100%, 81%, 0.4);
css variable
--color-primary: hsl(272, 100%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 100%, 81%)?
HEX: #D29EFF | RGB: rgb(210, 158, 255) | CMYK: 18%, 38%, 0%, 0% | HSV: 272°, 38%, 100%. Copy any format from the conversion table above.
What colors go well with #D29EFF?
The complementary color is HSL(92, 100%, 81%). 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, 100%, 81%) in CSS?
As HSL: color: hsl(272, 100%, 81%); — As HEX: color: #D29EFF; — As RGB: color: rgb(210, 158, 255); — Tailwind CSS: bg-[hsl(272,100%,81%)] — CSS variable: --color-primary: hsl(272, 100%, 81%);