HSL(262, 82%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,82%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 82%, 82%) | color: hsl(262, 82%, 82%) | |
| HEX | #C7ABF7 | color: #C7ABF7 | |
| RGB | rgb(199, 171, 247) | color: rgb(199, 171, 247) | |
| CMYK | cmyk(19%, 31%, 0%, 3%) | — | |
| HSV | hsv(262, 31%, 97%) | — | |
| HWB | hwb(262 67% 3%) | color: hwb(262 67% 3%) | |
| OKLCH | oklch(0.7926 0.1095 300.85) | color: oklch(0.7926 0.1095 300.85) | |
| Lab | lab(74.81 24.97 -34.1) | color: lab(74.81 24.97 -34.1) | |
| LCH | lch(74.81 42.26 306.21) | color: lch(74.81 42.26 306.21) |
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)
#BBBBE5 — rgb(187, 187, 229)
Deuteranopia (Green-blind)
#BDBFE0 — rgb(189, 191, 224)
Tritanopia (Blue-blind)
#C6D6D3 — rgb(198, 214, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 82%, 82%);
text
color: hsl(262, 82%, 82%);
border
border: 2px solid hsl(262, 82%, 82%);
gradient light
background: linear-gradient(to right, hsl(262, 82%, 100%), hsl(262, 82%, 82%));
gradient dark
background: linear-gradient(to right, hsl(262, 82%, 82%), hsl(262, 82%, 62%))
hex
background-color: #C7ABF7;
tailwind
bg-[hsl(262,82%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 82%, 82%, 0.4);
css variable
--color-primary: hsl(262, 82%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 82%, 82%)?
HEX: #C7ABF7 | RGB: rgb(199, 171, 247) | CMYK: 19%, 31%, 0%, 3% | HSV: 262°, 31%, 97%. Copy any format from the conversion table above.
What colors go well with #C7ABF7?
The complementary color is HSL(82, 82%, 82%). 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, 82%, 82%) in CSS?
As HSL: color: hsl(262, 82%, 82%); — As HEX: color: #C7ABF7; — As RGB: color: rgb(199, 171, 247); — Tailwind CSS: bg-[hsl(262,82%,82%)] — CSS variable: --color-primary: hsl(262, 82%, 82%);