HSL(284, 55%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(284,55%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(284, 55%, 68%) | color: hsl(284, 55%, 68%) | |
| HEX | #C281DA | color: #C281DA | |
| RGB | rgb(194, 129, 218) | color: rgb(194, 129, 218) | |
| CMYK | cmyk(11%, 41%, 0%, 15%) | — | |
| HSV | hsv(284, 41%, 85%) | — | |
| HWB | hwb(284 50% 15%) | color: hwb(284 50% 15%) | |
| OKLCH | oklch(0.702 0.1432 316.52) | color: oklch(0.702 0.1432 316.52) | |
| Lab | lab(63.53 40.27 -35.72) | color: lab(63.53 40.27 -35.72) | |
| LCH | lch(63.53 53.83 318.43) | color: lch(63.53 53.83 318.43) |
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)
#A6A5C4 — rgb(166, 165, 196)
Deuteranopia (Green-blind)
#AAAFBF — rgb(170, 175, 191)
Tritanopia (Blue-blind)
#BFB3B0 — rgb(191, 179, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(284, 55%, 68%);
text
color: hsl(284, 55%, 68%);
border
border: 2px solid hsl(284, 55%, 68%);
gradient light
background: linear-gradient(to right, hsl(284, 55%, 88%), hsl(284, 55%, 68%));
gradient dark
background: linear-gradient(to right, hsl(284, 55%, 68%), hsl(284, 55%, 48%))
hex
background-color: #C281DA;
tailwind
bg-[hsl(284,55%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(284, 55%, 68%, 0.4);
css variable
--color-primary: hsl(284, 55%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(284, 55%, 68%)?
HEX: #C281DA | RGB: rgb(194, 129, 218) | CMYK: 11%, 41%, 0%, 15% | HSV: 284°, 41%, 85%. Copy any format from the conversion table above.
What colors go well with #C281DA?
The complementary color is HSL(104, 55%, 68%). For a triadic harmony, use hues 284°, 44°, and 164°. For analogous combinations, try hues 254° and 314°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(284, 55%, 68%) in CSS?
As HSL: color: hsl(284, 55%, 68%); — As HEX: color: #C281DA; — As RGB: color: rgb(194, 129, 218); — Tailwind CSS: bg-[hsl(284,55%,68%)] — CSS variable: --color-primary: hsl(284, 55%, 68%);