HSL(262, 55%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,55%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 55%, 81%) | color: hsl(262, 55%, 81%) | |
| HEX | #C7B4E9 | color: #C7B4E9 | |
| RGB | rgb(199, 180, 233) | color: rgb(199, 180, 233) | |
| CMYK | cmyk(15%, 23%, 0%, 9%) | — | |
| HSV | hsv(262, 23%, 91%) | — | |
| HWB | hwb(262 70% 9%) | color: hwb(262 70% 9%) | |
| OKLCH | oklch(0.8037 0.0764 301.09) | color: oklch(0.8037 0.0764 301.09) | |
| Lab | lab(76.48 16.98 -23.97) | color: lab(76.48 16.98 -23.97) | |
| LCH | lch(76.48 29.37 305.31) | color: lch(76.48 29.37 305.31) |
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)
#BFBFDC — rgb(191, 191, 220)
Deuteranopia (Green-blind)
#C0C1D9 — rgb(192, 193, 217)
Tritanopia (Blue-blind)
#C6D2D0 — rgb(198, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 55%, 81%);
text
color: hsl(262, 55%, 81%);
border
border: 2px solid hsl(262, 55%, 81%);
gradient light
background: linear-gradient(to right, hsl(262, 55%, 100%), hsl(262, 55%, 81%));
gradient dark
background: linear-gradient(to right, hsl(262, 55%, 81%), hsl(262, 55%, 61%))
hex
background-color: #C7B4E9;
tailwind
bg-[hsl(262,55%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 55%, 81%, 0.4);
css variable
--color-primary: hsl(262, 55%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 55%, 81%)?
HEX: #C7B4E9 | RGB: rgb(199, 180, 233) | CMYK: 15%, 23%, 0%, 9% | HSV: 262°, 23%, 91%. Copy any format from the conversion table above.
What colors go well with #C7B4E9?
The complementary color is HSL(82, 55%, 81%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 55%, 81%) in CSS?
As HSL: color: hsl(262, 55%, 81%); — As HEX: color: #C7B4E9; — As RGB: color: rgb(199, 180, 233); — Tailwind CSS: bg-[hsl(262,55%,81%)] — CSS variable: --color-primary: hsl(262, 55%, 81%);