HSL(267, 80%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,80%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 80%, 81%) | color: hsl(267, 80%, 81%) | |
| HEX | #CBA8F5 | color: #CBA8F5 | |
| RGB | rgb(203, 168, 245) | color: rgb(203, 168, 245) | |
| CMYK | cmyk(17%, 31%, 0%, 4%) | — | |
| HSV | hsv(267, 31%, 96%) | — | |
| HWB | hwb(267 66% 4%) | color: hwb(267 66% 4%) | |
| OKLCH | oklch(0.7899 0.1128 304.77) | color: oklch(0.7899 0.1128 304.77) | |
| Lab | lab(74.38 27.37 -33.66) | color: lab(74.38 27.37 -33.66) | |
| LCH | lch(74.38 43.38 309.12) | color: lch(74.38 43.38 309.12) |
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)
#BCBCE2 — rgb(188, 188, 226)
Deuteranopia (Green-blind)
#BEC1DE — rgb(190, 193, 222)
Tritanopia (Blue-blind)
#C9D4D0 — rgb(201, 212, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 80%, 81%);
text
color: hsl(267, 80%, 81%);
border
border: 2px solid hsl(267, 80%, 81%);
gradient light
background: linear-gradient(to right, hsl(267, 80%, 100%), hsl(267, 80%, 81%));
gradient dark
background: linear-gradient(to right, hsl(267, 80%, 81%), hsl(267, 80%, 61%))
hex
background-color: #CBA8F5;
tailwind
bg-[hsl(267,80%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 80%, 81%, 0.4);
css variable
--color-primary: hsl(267, 80%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 80%, 81%)?
HEX: #CBA8F5 | RGB: rgb(203, 168, 245) | CMYK: 17%, 31%, 0%, 4% | HSV: 267°, 31%, 96%. Copy any format from the conversion table above.
What colors go well with #CBA8F5?
The complementary color is HSL(87, 80%, 81%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 80%, 81%) in CSS?
As HSL: color: hsl(267, 80%, 81%); — As HEX: color: #CBA8F5; — As RGB: color: rgb(203, 168, 245); — Tailwind CSS: bg-[hsl(267,80%,81%)] — CSS variable: --color-primary: hsl(267, 80%, 81%);