HSL(262, 77%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,77%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 77%, 84%) | color: hsl(262, 77%, 84%) | |
| HEX | #CEB7F6 | color: #CEB7F6 | |
| RGB | rgb(206, 183, 246) | color: rgb(206, 183, 246) | |
| CMYK | cmyk(16%, 26%, 0%, 4%) | — | |
| HSV | hsv(262, 26%, 96%) | — | |
| HWB | hwb(262 71% 4%) | color: hwb(262 71% 4%) | |
| OKLCH | oklch(0.8204 0.0903 301.15) | color: oklch(0.8204 0.0903 301.15) | |
| Lab | lab(78.25 20.3 -28.21) | color: lab(78.25 20.3 -28.21) | |
| LCH | lch(78.25 34.75 305.74) | color: lch(78.25 34.75 305.74) |
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)
#C4C4E7 — rgb(196, 196, 231)
Deuteranopia (Green-blind)
#C5C7E3 — rgb(197, 199, 227)
Tritanopia (Blue-blind)
#CDDBD8 — rgb(205, 219, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 77%, 84%);
text
color: hsl(262, 77%, 84%);
border
border: 2px solid hsl(262, 77%, 84%);
gradient light
background: linear-gradient(to right, hsl(262, 77%, 100%), hsl(262, 77%, 84%));
gradient dark
background: linear-gradient(to right, hsl(262, 77%, 84%), hsl(262, 77%, 64%))
hex
background-color: #CEB7F6;
tailwind
bg-[hsl(262,77%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 77%, 84%, 0.4);
css variable
--color-primary: hsl(262, 77%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 77%, 84%)?
HEX: #CEB7F6 | RGB: rgb(206, 183, 246) | CMYK: 16%, 26%, 0%, 4% | HSV: 262°, 26%, 96%. Copy any format from the conversion table above.
What colors go well with #CEB7F6?
The complementary color is HSL(82, 77%, 84%). 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, 77%, 84%) in CSS?
As HSL: color: hsl(262, 77%, 84%); — As HEX: color: #CEB7F6; — As RGB: color: rgb(206, 183, 246); — Tailwind CSS: bg-[hsl(262,77%,84%)] — CSS variable: --color-primary: hsl(262, 77%, 84%);