HSL(284, 75%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(284,75%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(284, 75%, 71%) | color: hsl(284, 75%, 71%) | |
| HEX | #CF7EED | color: #CF7EED | |
| RGB | rgb(207, 126, 237) | color: rgb(207, 126, 237) | |
| CMYK | cmyk(13%, 47%, 0%, 7%) | — | |
| HSV | hsv(284, 47%, 93%) | — | |
| HWB | hwb(284 49% 7%) | color: hwb(284 49% 7%) | |
| OKLCH | oklch(0.7204 0.1749 316.33) | color: oklch(0.7204 0.1749 316.33) | |
| Lab | lab(65.2 49.48 -43.55) | color: lab(65.2 49.48 -43.55) | |
| LCH | lch(65.2 65.92 318.65) | color: lch(65.2 65.92 318.65) |
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)
#ACABD2 — rgb(172, 171, 210)
Deuteranopia (Green-blind)
#B1B7CC — rgb(177, 183, 204)
Tritanopia (Blue-blind)
#CBBDB8 — rgb(203, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(284, 75%, 71%);
text
color: hsl(284, 75%, 71%);
border
border: 2px solid hsl(284, 75%, 71%);
gradient light
background: linear-gradient(to right, hsl(284, 75%, 91%), hsl(284, 75%, 71%));
gradient dark
background: linear-gradient(to right, hsl(284, 75%, 71%), hsl(284, 75%, 51%))
hex
background-color: #CF7EED;
tailwind
bg-[hsl(284,75%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(284, 75%, 71%, 0.4);
css variable
--color-primary: hsl(284, 75%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(284, 75%, 71%)?
HEX: #CF7EED | RGB: rgb(207, 126, 237) | CMYK: 13%, 47%, 0%, 7% | HSV: 284°, 47%, 93%. Copy any format from the conversion table above.
What colors go well with #CF7EED?
The complementary color is HSL(104, 75%, 71%). 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, 75%, 71%) in CSS?
As HSL: color: hsl(284, 75%, 71%); — As HEX: color: #CF7EED; — As RGB: color: rgb(207, 126, 237); — Tailwind CSS: bg-[hsl(284,75%,71%)] — CSS variable: --color-primary: hsl(284, 75%, 71%);