HSL(272, 50%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 50%, 79%) | color: hsl(272, 50%, 79%) | |
| HEX | #CBAFE4 | color: #CBAFE4 | |
| RGB | rgb(203, 175, 228) | color: rgb(203, 175, 228) | |
| CMYK | cmyk(11%, 23%, 0%, 11%) | — | |
| HSV | hsv(272, 23%, 89%) | — | |
| HWB | hwb(272 69% 11%) | color: hwb(272 69% 11%) | |
| OKLCH | oklch(0.7959 0.0795 308.58) | color: oklch(0.7959 0.0795 308.58) | |
| Lab | lab(75.43 19.94 -22.83) | color: lab(75.43 19.94 -22.83) | |
| LCH | lch(75.43 30.31 311.13) | color: lch(75.43 30.31 311.13) |
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)
#BFBFD7 — rgb(191, 191, 215)
Deuteranopia (Green-blind)
#C1C3D4 — rgb(193, 195, 212)
Tritanopia (Blue-blind)
#CACDCB — rgb(202, 205, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 50%, 79%);
text
color: hsl(272, 50%, 79%);
border
border: 2px solid hsl(272, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(272, 50%, 99%), hsl(272, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(272, 50%, 79%), hsl(272, 50%, 59%))
hex
background-color: #CBAFE4;
tailwind
bg-[hsl(272,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 50%, 79%, 0.4);
css variable
--color-primary: hsl(272, 50%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 50%, 79%)?
HEX: #CBAFE4 | RGB: rgb(203, 175, 228) | CMYK: 11%, 23%, 0%, 11% | HSV: 272°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #CBAFE4?
The complementary color is HSL(92, 50%, 79%). 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, 50%, 79%) in CSS?
As HSL: color: hsl(272, 50%, 79%); — As HEX: color: #CBAFE4; — As RGB: color: rgb(203, 175, 228); — Tailwind CSS: bg-[hsl(272,50%,79%)] — CSS variable: --color-primary: hsl(272, 50%, 79%);