HSL(276, 98%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,98%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 98%, 70%) | color: hsl(276, 98%, 70%) | |
| HEX | #C168FD | color: #C168FD | |
| RGB | rgb(193, 104, 253) | color: rgb(193, 104, 253) | |
| CMYK | cmyk(24%, 59%, 0%, 1%) | — | |
| HSV | hsv(276, 59%, 99%) | — | |
| HWB | hwb(276 41% 1%) | color: hwb(276 41% 1%) | |
| OKLCH | oklch(0.6826 0.22 309.3) | color: oklch(0.6826 0.22 309.3) | |
| Lab | lab(60.19 60.35 -60.44) | color: lab(60.19 60.35 -60.44) | |
| LCH | lch(60.19 85.41 314.96) | color: lch(60.19 85.41 314.96) |
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)
#9A9AD9 — rgb(154, 154, 217)
Deuteranopia (Green-blind)
#A0A6D0 — rgb(160, 166, 208)
Tritanopia (Blue-blind)
#BDBCB6 — rgb(189, 188, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 98%, 70%);
text
color: hsl(276, 98%, 70%);
border
border: 2px solid hsl(276, 98%, 70%);
gradient light
background: linear-gradient(to right, hsl(276, 98%, 90%), hsl(276, 98%, 70%));
gradient dark
background: linear-gradient(to right, hsl(276, 98%, 70%), hsl(276, 98%, 50%))
hex
background-color: #C168FD;
tailwind
bg-[hsl(276,98%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 98%, 70%, 0.4);
css variable
--color-primary: hsl(276, 98%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 98%, 70%)?
HEX: #C168FD | RGB: rgb(193, 104, 253) | CMYK: 24%, 59%, 0%, 1% | HSV: 276°, 59%, 99%. Copy any format from the conversion table above.
What colors go well with #C168FD?
The complementary color is HSL(96, 98%, 70%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 98%, 70%) in CSS?
As HSL: color: hsl(276, 98%, 70%); — As HEX: color: #C168FD; — As RGB: color: rgb(193, 104, 253); — Tailwind CSS: bg-[hsl(276,98%,70%)] — CSS variable: --color-primary: hsl(276, 98%, 70%);