HSL(281, 52%, 75%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,52%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 52%, 75%) | color: hsl(281, 52%, 75%) | |
| HEX | #CB9EE0 | color: #CB9EE0 | |
| RGB | rgb(203, 158, 224) | color: rgb(203, 158, 224) | |
| CMYK | cmyk(9%, 29%, 0%, 12%) | — | |
| HSV | hsv(281, 29%, 88%) | — | |
| HWB | hwb(281 62% 12%) | color: hwb(281 62% 12%) | |
| OKLCH | oklch(0.7632 0.1041 314.78) | color: oklch(0.7632 0.1041 314.78) | |
| Lab | lab(71.24 28.43 -27.05) | color: lab(71.24 28.43 -27.05) | |
| LCH | lch(71.24 39.24 316.42) | color: lch(71.24 39.24 316.42) |
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)
#B8B7D0 — rgb(184, 183, 208)
Deuteranopia (Green-blind)
#BABECC — rgb(186, 190, 204)
Tritanopia (Blue-blind)
#C9C3C1 — rgb(201, 195, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 52%, 75%);
text
color: hsl(281, 52%, 75%);
border
border: 2px solid hsl(281, 52%, 75%);
gradient light
background: linear-gradient(to right, hsl(281, 52%, 95%), hsl(281, 52%, 75%));
gradient dark
background: linear-gradient(to right, hsl(281, 52%, 75%), hsl(281, 52%, 55%))
hex
background-color: #CB9EE0;
tailwind
bg-[hsl(281,52%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 52%, 75%, 0.4);
css variable
--color-primary: hsl(281, 52%, 75%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 52%, 75%)?
HEX: #CB9EE0 | RGB: rgb(203, 158, 224) | CMYK: 9%, 29%, 0%, 12% | HSV: 281°, 29%, 88%. Copy any format from the conversion table above.
What colors go well with #CB9EE0?
The complementary color is HSL(101, 52%, 75%). 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, 52%, 75%) in CSS?
As HSL: color: hsl(281, 52%, 75%); — As HEX: color: #CB9EE0; — As RGB: color: rgb(203, 158, 224); — Tailwind CSS: bg-[hsl(281,52%,75%)] — CSS variable: --color-primary: hsl(281, 52%, 75%);