HSL(283, 40%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 40%, 74%) | color: hsl(283, 40%, 74%) | |
| HEX | #C8A2D7 | color: #C8A2D7 | |
| RGB | rgb(200, 162, 215) | color: rgb(200, 162, 215) | |
| CMYK | cmyk(7%, 25%, 0%, 16%) | — | |
| HSV | hsv(283, 25%, 84%) | — | |
| HWB | hwb(283 63% 16%) | color: hwb(283 63% 16%) | |
| OKLCH | oklch(0.7641 0.0849 316.29) | color: oklch(0.7641 0.0849 316.29) | |
| Lab | lab(71.57 23.46 -21.63) | color: lab(71.57 23.46 -21.63) | |
| LCH | lch(71.57 31.91 317.32) | color: lch(71.57 31.91 317.32) |
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)
#B8B7CA — rgb(184, 183, 202)
Deuteranopia (Green-blind)
#BABDC7 — rgb(186, 189, 199)
Tritanopia (Blue-blind)
#C6C0BE — rgb(198, 192, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 40%, 74%);
text
color: hsl(283, 40%, 74%);
border
border: 2px solid hsl(283, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(283, 40%, 94%), hsl(283, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(283, 40%, 74%), hsl(283, 40%, 54%))
hex
background-color: #C8A2D7;
tailwind
bg-[hsl(283,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 40%, 74%, 0.4);
css variable
--color-primary: hsl(283, 40%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 40%, 74%)?
HEX: #C8A2D7 | RGB: rgb(200, 162, 215) | CMYK: 7%, 25%, 0%, 16% | HSV: 283°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #C8A2D7?
The complementary color is HSL(103, 40%, 74%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 40%, 74%) in CSS?
As HSL: color: hsl(283, 40%, 74%); — As HEX: color: #C8A2D7; — As RGB: color: rgb(200, 162, 215); — Tailwind CSS: bg-[hsl(283,40%,74%)] — CSS variable: --color-primary: hsl(283, 40%, 74%);