HSL(270, 90%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,90%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 90%, 68%) | color: hsl(270, 90%, 68%) | |
| HEX | #AD64F7 | color: #AD64F7 | |
| RGB | rgb(173, 100, 247) | color: rgb(173, 100, 247) | |
| CMYK | cmyk(30%, 60%, 0%, 3%) | — | |
| HSV | hsv(270, 60%, 97%) | — | |
| HWB | hwb(270 39% 3%) | color: hwb(270 39% 3%) | |
| OKLCH | oklch(0.6517 0.2138 303.93) | color: oklch(0.6517 0.2138 303.93) | |
| Lab | lab(56.8 56.42 -62.68) | color: lab(56.8 56.42 -62.68) | |
| LCH | lch(56.8 84.33 311.99) | color: lch(56.8 84.33 311.99) |
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)
#8D8DD3 — rgb(141, 141, 211)
Deuteranopia (Green-blind)
#9297CB — rgb(146, 151, 203)
Tritanopia (Blue-blind)
#A9B7B1 — rgb(169, 183, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 90%, 68%);
text
color: hsl(270, 90%, 68%);
border
border: 2px solid hsl(270, 90%, 68%);
gradient light
background: linear-gradient(to right, hsl(270, 90%, 88%), hsl(270, 90%, 68%));
gradient dark
background: linear-gradient(to right, hsl(270, 90%, 68%), hsl(270, 90%, 48%))
hex
background-color: #AD64F7;
tailwind
bg-[hsl(270,90%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 90%, 68%, 0.4);
css variable
--color-primary: hsl(270, 90%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 90%, 68%)?
HEX: #AD64F7 | RGB: rgb(173, 100, 247) | CMYK: 30%, 60%, 0%, 3% | HSV: 270°, 60%, 97%. Copy any format from the conversion table above.
What colors go well with #AD64F7?
The complementary color is HSL(90, 90%, 68%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 90%, 68%) in CSS?
As HSL: color: hsl(270, 90%, 68%); — As HEX: color: #AD64F7; — As RGB: color: rgb(173, 100, 247); — Tailwind CSS: bg-[hsl(270,90%,68%)] — CSS variable: --color-primary: hsl(270, 90%, 68%);