HSL(281, 96%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,96%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 96%, 68%) | color: hsl(281, 96%, 68%) | |
| HEX | #CA5FFC | color: #CA5FFC | |
| RGB | rgb(202, 95, 252) | color: rgb(202, 95, 252) | |
| CMYK | cmyk(20%, 62%, 0%, 1%) | — | |
| HSV | hsv(281, 62%, 99%) | — | |
| HWB | hwb(281 38% 1%) | color: hwb(281 38% 1%) | |
| OKLCH | oklch(0.6811 0.2343 313.31) | color: oklch(0.6811 0.2343 313.31) | |
| Lab | lab(59.68 66.4 -60.63) | color: lab(59.68 66.4 -60.63) | |
| LCH | lch(59.68 89.92 317.6) | color: lch(59.68 89.92 317.6) |
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)
#9C9BD6 — rgb(156, 155, 214)
Deuteranopia (Green-blind)
#A2AACD — rgb(162, 170, 205)
Tritanopia (Blue-blind)
#C5B8B1 — rgb(197, 184, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 96%, 68%);
text
color: hsl(281, 96%, 68%);
border
border: 2px solid hsl(281, 96%, 68%);
gradient light
background: linear-gradient(to right, hsl(281, 96%, 88%), hsl(281, 96%, 68%));
gradient dark
background: linear-gradient(to right, hsl(281, 96%, 68%), hsl(281, 96%, 48%))
hex
background-color: #CA5FFC;
tailwind
bg-[hsl(281,96%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 96%, 68%, 0.4);
css variable
--color-primary: hsl(281, 96%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 96%, 68%)?
HEX: #CA5FFC | RGB: rgb(202, 95, 252) | CMYK: 20%, 62%, 0%, 1% | HSV: 281°, 62%, 99%. Copy any format from the conversion table above.
What colors go well with #CA5FFC?
The complementary color is HSL(101, 96%, 68%). 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, 96%, 68%) in CSS?
As HSL: color: hsl(281, 96%, 68%); — As HEX: color: #CA5FFC; — As RGB: color: rgb(202, 95, 252); — Tailwind CSS: bg-[hsl(281,96%,68%)] — CSS variable: --color-primary: hsl(281, 96%, 68%);