HSL(268, 100%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,100%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 100%, 81%) | color: hsl(268, 100%, 81%) | |
| HEX | #CB9EFF | color: #CB9EFF | |
| RGB | rgb(203, 158, 255) | color: rgb(203, 158, 255) | |
| CMYK | cmyk(20%, 38%, 0%, 0%) | — | |
| HSV | hsv(268, 38%, 100%) | — | |
| HWB | hwb(268 62% 0%) | color: hwb(268 62% 0%) | |
| OKLCH | oklch(0.7767 0.1418 304.66) | color: oklch(0.7767 0.1418 304.66) | |
| Lab | lab(72.48 35.05 -42.03) | color: lab(72.48 35.05 -42.03) | |
| LCH | lch(72.48 54.73 309.83) | color: lch(72.48 54.73 309.83) |
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)
#B8B7E8 — rgb(184, 183, 232)
Deuteranopia (Green-blind)
#BABEE2 — rgb(186, 190, 226)
Tritanopia (Blue-blind)
#C9D5D1 — rgb(201, 213, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 100%, 81%);
text
color: hsl(268, 100%, 81%);
border
border: 2px solid hsl(268, 100%, 81%);
gradient light
background: linear-gradient(to right, hsl(268, 100%, 100%), hsl(268, 100%, 81%));
gradient dark
background: linear-gradient(to right, hsl(268, 100%, 81%), hsl(268, 100%, 61%))
hex
background-color: #CB9EFF;
tailwind
bg-[hsl(268,100%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 100%, 81%, 0.4);
css variable
--color-primary: hsl(268, 100%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 100%, 81%)?
HEX: #CB9EFF | RGB: rgb(203, 158, 255) | CMYK: 20%, 38%, 0%, 0% | HSV: 268°, 38%, 100%. Copy any format from the conversion table above.
What colors go well with #CB9EFF?
The complementary color is HSL(88, 100%, 81%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 100%, 81%) in CSS?
As HSL: color: hsl(268, 100%, 81%); — As HEX: color: #CB9EFF; — As RGB: color: rgb(203, 158, 255); — Tailwind CSS: bg-[hsl(268,100%,81%)] — CSS variable: --color-primary: hsl(268, 100%, 81%);