HSL(281, 54%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,54%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 54%, 74%) | color: hsl(281, 54%, 74%) | |
| HEX | #CA99E1 | color: #CA99E1 | |
| RGB | rgb(202, 153, 225) | color: rgb(202, 153, 225) | |
| CMYK | cmyk(10%, 32%, 0%, 12%) | — | |
| HSV | hsv(281, 32%, 88%) | — | |
| HWB | hwb(281 60% 12%) | color: hwb(281 60% 12%) | |
| OKLCH | oklch(0.7538 0.1135 314.66) | color: oklch(0.7538 0.1135 314.66) | |
| Lab | lab(70.02 31.06 -29.48) | color: lab(70.02 31.06 -29.48) | |
| LCH | lch(70.02 42.82 316.49) | color: lch(70.02 42.82 316.49) |
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)
#B5B4D0 — rgb(181, 180, 208)
Deuteranopia (Green-blind)
#B8BBCB — rgb(184, 187, 203)
Tritanopia (Blue-blind)
#C8C2BF — rgb(200, 194, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 54%, 74%);
text
color: hsl(281, 54%, 74%);
border
border: 2px solid hsl(281, 54%, 74%);
gradient light
background: linear-gradient(to right, hsl(281, 54%, 94%), hsl(281, 54%, 74%));
gradient dark
background: linear-gradient(to right, hsl(281, 54%, 74%), hsl(281, 54%, 54%))
hex
background-color: #CA99E1;
tailwind
bg-[hsl(281,54%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 54%, 74%, 0.4);
css variable
--color-primary: hsl(281, 54%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 54%, 74%)?
HEX: #CA99E1 | RGB: rgb(202, 153, 225) | CMYK: 10%, 32%, 0%, 12% | HSV: 281°, 32%, 88%. Copy any format from the conversion table above.
What colors go well with #CA99E1?
The complementary color is HSL(101, 54%, 74%). 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, 54%, 74%) in CSS?
As HSL: color: hsl(281, 54%, 74%); — As HEX: color: #CA99E1; — As RGB: color: rgb(202, 153, 225); — Tailwind CSS: bg-[hsl(281,54%,74%)] — CSS variable: --color-primary: hsl(281, 54%, 74%);