HSL(268, 85%, 53%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,85%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 85%, 53%) | color: hsl(268, 85%, 53%) | |
| HEX | #8021ED | color: #8021ED | |
| RGB | rgb(128, 33, 237) | color: rgb(128, 33, 237) | |
| CMYK | cmyk(46%, 86%, 0%, 7%) | — | |
| HSV | hsv(268, 86%, 93%) | — | |
| HWB | hwb(268 13% 7%) | color: hwb(268 13% 7%) | |
| OKLCH | oklch(0.525 0.2661 296.24) | color: oklch(0.525 0.2661 296.24) | |
| Lab | lab(40.88 74.01 -83.21) | color: lab(40.88 74.01 -83.21) | |
| LCH | lch(40.88 111.36 311.65) | color: lch(40.88 111.36 311.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5756BC — rgb(87, 86, 188)
Deuteranopia (Green-blind)
#5C64B0 — rgb(92, 100, 176)
Tritanopia (Blue-blind)
#7B958C — rgb(123, 149, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 85%, 53%);
text
color: hsl(268, 85%, 53%);
border
border: 2px solid hsl(268, 85%, 53%);
gradient light
background: linear-gradient(to right, hsl(268, 85%, 73%), hsl(268, 85%, 53%));
gradient dark
background: linear-gradient(to right, hsl(268, 85%, 53%), hsl(268, 85%, 33%))
hex
background-color: #8021ED;
tailwind
bg-[hsl(268,85%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 85%, 53%, 0.4);
css variable
--color-primary: hsl(268, 85%, 53%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 85%, 53%)?
HEX: #8021ED | RGB: rgb(128, 33, 237) | CMYK: 46%, 86%, 0%, 7% | HSV: 268°, 86%, 93%. Copy any format from the conversion table above.
What colors go well with #8021ED?
The complementary color is HSL(88, 85%, 53%). 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, 85%, 53%) in CSS?
As HSL: color: hsl(268, 85%, 53%); — As HEX: color: #8021ED; — As RGB: color: rgb(128, 33, 237); — Tailwind CSS: bg-[hsl(268,85%,53%)] — CSS variable: --color-primary: hsl(268, 85%, 53%);