HSL(267, 83%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,83%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 83%, 81%) | color: hsl(267, 83%, 81%) | |
| HEX | #CBA6F7 | color: #CBA6F7 | |
| RGB | rgb(203, 166, 247) | color: rgb(203, 166, 247) | |
| CMYK | cmyk(18%, 33%, 0%, 3%) | — | |
| HSV | hsv(267, 33%, 97%) | — | |
| HWB | hwb(267 65% 3%) | color: hwb(267 65% 3%) | |
| OKLCH | oklch(0.7871 0.1187 304.77) | color: oklch(0.7871 0.1187 304.77) | |
| Lab | lab(73.99 28.91 -35.35) | color: lab(73.99 28.91 -35.35) | |
| LCH | lch(73.99 45.67 309.28) | color: lch(73.99 45.67 309.28) |
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)
#BBBBE3 — rgb(187, 187, 227)
Deuteranopia (Green-blind)
#BDC0DF — rgb(189, 192, 223)
Tritanopia (Blue-blind)
#C9D4D1 — rgb(201, 212, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 83%, 81%);
text
color: hsl(267, 83%, 81%);
border
border: 2px solid hsl(267, 83%, 81%);
gradient light
background: linear-gradient(to right, hsl(267, 83%, 100%), hsl(267, 83%, 81%));
gradient dark
background: linear-gradient(to right, hsl(267, 83%, 81%), hsl(267, 83%, 61%))
hex
background-color: #CBA6F7;
tailwind
bg-[hsl(267,83%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 83%, 81%, 0.4);
css variable
--color-primary: hsl(267, 83%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 83%, 81%)?
HEX: #CBA6F7 | RGB: rgb(203, 166, 247) | CMYK: 18%, 33%, 0%, 3% | HSV: 267°, 33%, 97%. Copy any format from the conversion table above.
What colors go well with #CBA6F7?
The complementary color is HSL(87, 83%, 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, 83%, 81%) in CSS?
As HSL: color: hsl(267, 83%, 81%); — As HEX: color: #CBA6F7; — As RGB: color: rgb(203, 166, 247); — Tailwind CSS: bg-[hsl(267,83%,81%)] — CSS variable: --color-primary: hsl(267, 83%, 81%);