HSL(274, 99%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,99%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 99%, 72%) | color: hsl(274, 99%, 72%) | |
| HEX | #C171FE | color: #C171FE | |
| RGB | rgb(193, 113, 254) | color: rgb(193, 113, 254) | |
| CMYK | cmyk(24%, 56%, 0%, 0%) | — | |
| HSV | hsv(274, 56%, 100%) | — | |
| HWB | hwb(274 44% 0%) | color: hwb(274 44% 0%) | |
| OKLCH | oklch(0.6954 0.2081 308.1) | color: oklch(0.6954 0.2081 308.1) | |
| Lab | lab(61.92 56.1 -58.23) | color: lab(61.92 56.1 -58.23) | |
| LCH | lch(61.92 80.86 313.93) | color: lch(61.92 80.86 313.93) |
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)
#9E9EDC — rgb(158, 158, 220)
Deuteranopia (Green-blind)
#A3A9D4 — rgb(163, 169, 212)
Tritanopia (Blue-blind)
#BDC1BB — rgb(189, 193, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 99%, 72%);
text
color: hsl(274, 99%, 72%);
border
border: 2px solid hsl(274, 99%, 72%);
gradient light
background: linear-gradient(to right, hsl(274, 99%, 92%), hsl(274, 99%, 72%));
gradient dark
background: linear-gradient(to right, hsl(274, 99%, 72%), hsl(274, 99%, 52%))
hex
background-color: #C171FE;
tailwind
bg-[hsl(274,99%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 99%, 72%, 0.4);
css variable
--color-primary: hsl(274, 99%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 99%, 72%)?
HEX: #C171FE | RGB: rgb(193, 113, 254) | CMYK: 24%, 56%, 0%, 0% | HSV: 274°, 56%, 100%. Copy any format from the conversion table above.
What colors go well with #C171FE?
The complementary color is HSL(94, 99%, 72%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 99%, 72%) in CSS?
As HSL: color: hsl(274, 99%, 72%); — As HEX: color: #C171FE; — As RGB: color: rgb(193, 113, 254); — Tailwind CSS: bg-[hsl(274,99%,72%)] — CSS variable: --color-primary: hsl(274, 99%, 72%);