HSL(281, 99%, 65%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,99%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 99%, 65%) | color: hsl(281, 99%, 65%) | |
| HEX | #C64DFE | color: #C64DFE | |
| RGB | rgb(198, 77, 254) | color: rgb(198, 77, 254) | |
| CMYK | cmyk(22%, 70%, 0%, 0%) | — | |
| HSV | hsv(281, 70%, 100%) | — | |
| HWB | hwb(281 30% 0%) | color: hwb(281 30% 0%) | |
| OKLCH | oklch(0.658 0.257 312.82) | color: oklch(0.658 0.257 312.82) | |
| Lab | lab(56.56 73.55 -66.79) | color: lab(56.56 73.55 -66.79) | |
| LCH | lch(56.56 99.35 317.76) | color: lch(56.56 99.35 317.76) |
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)
#9291D3 — rgb(146, 145, 211)
Deuteranopia (Green-blind)
#99A2C9 — rgb(153, 162, 201)
Tritanopia (Blue-blind)
#C0B1AA — rgb(192, 177, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 99%, 65%);
text
color: hsl(281, 99%, 65%);
border
border: 2px solid hsl(281, 99%, 65%);
gradient light
background: linear-gradient(to right, hsl(281, 99%, 85%), hsl(281, 99%, 65%));
gradient dark
background: linear-gradient(to right, hsl(281, 99%, 65%), hsl(281, 99%, 45%))
hex
background-color: #C64DFE;
tailwind
bg-[hsl(281,99%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 99%, 65%, 0.4);
css variable
--color-primary: hsl(281, 99%, 65%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 99%, 65%)?
HEX: #C64DFE | RGB: rgb(198, 77, 254) | CMYK: 22%, 70%, 0%, 0% | HSV: 281°, 70%, 100%. Copy any format from the conversion table above.
What colors go well with #C64DFE?
The complementary color is HSL(101, 99%, 65%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 99%, 65%) in CSS?
As HSL: color: hsl(281, 99%, 65%); — As HEX: color: #C64DFE; — As RGB: color: rgb(198, 77, 254); — Tailwind CSS: bg-[hsl(281,99%,65%)] — CSS variable: --color-primary: hsl(281, 99%, 65%);