HSL(262, 75%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,75%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 75%, 68%) | color: hsl(262, 75%, 68%) | |
| HEX | #9D70EB | color: #9D70EB | |
| RGB | rgb(157, 112, 235) | color: rgb(157, 112, 235) | |
| CMYK | cmyk(33%, 52%, 0%, 8%) | — | |
| HSV | hsv(262, 52%, 92%) | — | |
| HWB | hwb(262 44% 8%) | color: hwb(262 44% 8%) | |
| OKLCH | oklch(0.6459 0.1795 298.09) | color: oklch(0.6459 0.1795 298.09) | |
| Lab | lab(56.84 43.38 -56.04) | color: lab(56.84 43.38 -56.04) | |
| LCH | lch(56.84 70.87 307.74) | color: lch(56.84 70.87 307.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)
#8A89CD — rgb(138, 137, 205)
Deuteranopia (Green-blind)
#8C90C6 — rgb(140, 144, 198)
Tritanopia (Blue-blind)
#9BB6B1 — rgb(155, 182, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 75%, 68%);
text
color: hsl(262, 75%, 68%);
border
border: 2px solid hsl(262, 75%, 68%);
gradient light
background: linear-gradient(to right, hsl(262, 75%, 88%), hsl(262, 75%, 68%));
gradient dark
background: linear-gradient(to right, hsl(262, 75%, 68%), hsl(262, 75%, 48%))
hex
background-color: #9D70EB;
tailwind
bg-[hsl(262,75%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 75%, 68%, 0.4);
css variable
--color-primary: hsl(262, 75%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 75%, 68%)?
HEX: #9D70EB | RGB: rgb(157, 112, 235) | CMYK: 33%, 52%, 0%, 8% | HSV: 262°, 52%, 92%. Copy any format from the conversion table above.
What colors go well with #9D70EB?
The complementary color is HSL(82, 75%, 68%). 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, 75%, 68%) in CSS?
As HSL: color: hsl(262, 75%, 68%); — As HEX: color: #9D70EB; — As RGB: color: rgb(157, 112, 235); — Tailwind CSS: bg-[hsl(262,75%,68%)] — CSS variable: --color-primary: hsl(262, 75%, 68%);