HSL(282, 63%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,63%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 63%, 72%) | color: hsl(282, 63%, 72%) | |
| HEX | #CA8BE5 | color: #CA8BE5 | |
| RGB | rgb(202, 139, 229) | color: rgb(202, 139, 229) | |
| CMYK | cmyk(12%, 39%, 0%, 10%) | — | |
| HSV | hsv(282, 39%, 90%) | — | |
| HWB | hwb(282 55% 10%) | color: hwb(282 55% 10%) | |
| OKLCH | oklch(0.7318 0.1422 315.26) | color: oklch(0.7318 0.1422 315.26) | |
| Lab | lab(67.04 39.51 -36.31) | color: lab(67.04 39.51 -36.31) | |
| LCH | lch(67.04 53.66 317.42) | color: lch(67.04 53.66 317.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)
#AFAECF — rgb(175, 174, 207)
Deuteranopia (Green-blind)
#B2B7CA — rgb(178, 183, 202)
Tritanopia (Blue-blind)
#C7BEBA — rgb(199, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 63%, 72%);
text
color: hsl(282, 63%, 72%);
border
border: 2px solid hsl(282, 63%, 72%);
gradient light
background: linear-gradient(to right, hsl(282, 63%, 92%), hsl(282, 63%, 72%));
gradient dark
background: linear-gradient(to right, hsl(282, 63%, 72%), hsl(282, 63%, 52%))
hex
background-color: #CA8BE5;
tailwind
bg-[hsl(282,63%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 63%, 72%, 0.4);
css variable
--color-primary: hsl(282, 63%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 63%, 72%)?
HEX: #CA8BE5 | RGB: rgb(202, 139, 229) | CMYK: 12%, 39%, 0%, 10% | HSV: 282°, 39%, 90%. Copy any format from the conversion table above.
What colors go well with #CA8BE5?
The complementary color is HSL(102, 63%, 72%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 63%, 72%) in CSS?
As HSL: color: hsl(282, 63%, 72%); — As HEX: color: #CA8BE5; — As RGB: color: rgb(202, 139, 229); — Tailwind CSS: bg-[hsl(282,63%,72%)] — CSS variable: --color-primary: hsl(282, 63%, 72%);