HSL(281, 74%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,74%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 74%, 74%) | color: hsl(281, 74%, 74%) | |
| HEX | #CF8CEE | color: #CF8CEE | |
| RGB | rgb(207, 140, 238) | color: rgb(207, 140, 238) | |
| CMYK | cmyk(13%, 41%, 0%, 7%) | — | |
| HSV | hsv(281, 41%, 93%) | — | |
| HWB | hwb(281 55% 7%) | color: hwb(281 55% 7%) | |
| OKLCH | oklch(0.7427 0.1529 314.49) | color: oklch(0.7427 0.1529 314.49) | |
| Lab | lab(68.16 42.3 -39.46) | color: lab(68.16 42.3 -39.46) | |
| LCH | lch(68.16 57.85 316.99) | color: lch(68.16 57.85 316.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)
#B2B1D6 — rgb(178, 177, 214)
Deuteranopia (Green-blind)
#B6BBD1 — rgb(182, 187, 209)
Tritanopia (Blue-blind)
#CCC4BF — rgb(204, 196, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 74%, 74%);
text
color: hsl(281, 74%, 74%);
border
border: 2px solid hsl(281, 74%, 74%);
gradient light
background: linear-gradient(to right, hsl(281, 74%, 94%), hsl(281, 74%, 74%));
gradient dark
background: linear-gradient(to right, hsl(281, 74%, 74%), hsl(281, 74%, 54%))
hex
background-color: #CF8CEE;
tailwind
bg-[hsl(281,74%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 74%, 74%, 0.4);
css variable
--color-primary: hsl(281, 74%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 74%, 74%)?
HEX: #CF8CEE | RGB: rgb(207, 140, 238) | CMYK: 13%, 41%, 0%, 7% | HSV: 281°, 41%, 93%. Copy any format from the conversion table above.
What colors go well with #CF8CEE?
The complementary color is HSL(101, 74%, 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, 74%, 74%) in CSS?
As HSL: color: hsl(281, 74%, 74%); — As HEX: color: #CF8CEE; — As RGB: color: rgb(207, 140, 238); — Tailwind CSS: bg-[hsl(281,74%,74%)] — CSS variable: --color-primary: hsl(281, 74%, 74%);