HSL(267, 81%, 54%)

Vivid Indigo — Indigo color

Adjust Color

Color Information

Color Name

Vivid Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,81%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 81%, 54%) color: hsl(267, 81%, 54%)
HEX #802BE9 color: #802BE9
RGB rgb(128, 43, 233) color: rgb(128, 43, 233)
CMYK cmyk(45%, 82%, 0%, 9%)
HSV hsv(267, 82%, 91%)
HWB hwb(267 16% 9%) color: hwb(267 16% 9%)
OKLCH oklch(0.5283 0.2557 296.4) color: oklch(0.5283 0.2557 296.4)
Lab lab(41.53 70.1 -79.87) color: lab(41.53 70.1 -79.87)
LCH lch(41.53 106.27 311.27) color: lch(41.53 106.27 311.27)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 6.1:1
vs Black 3.44:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5B5ABB — rgb(91, 90, 187)

Deuteranopia (Green-blind)

#6067B0 — rgb(96, 103, 176)

Tritanopia (Blue-blind)

#7C978F — rgb(124, 151, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 81%, 54%);

text

color: hsl(267, 81%, 54%);

border

border: 2px solid hsl(267, 81%, 54%);

gradient light

background: linear-gradient(to right, hsl(267, 81%, 74%), hsl(267, 81%, 54%));

gradient dark

background: linear-gradient(to right, hsl(267, 81%, 54%), hsl(267, 81%, 34%))

hex

background-color: #802BE9;

tailwind

bg-[hsl(267,81%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(267, 81%, 54%, 0.4);

css variable

--color-primary: hsl(267, 81%, 54%);

Related Colors

Use Cases for Vivid Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(267, 81%, 54%)?

HEX: #802BE9 | RGB: rgb(128, 43, 233) | CMYK: 45%, 82%, 0%, 9% | HSV: 267°, 82%, 91%. Copy any format from the conversion table above.

What colors go well with #802BE9?

The complementary color is HSL(87, 81%, 54%). 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, 81%, 54%) in CSS?

As HSL: color: hsl(267, 81%, 54%); — As HEX: color: #802BE9; — As RGB: color: rgb(128, 43, 233); — Tailwind CSS: bg-[hsl(267,81%,54%)] — CSS variable: --color-primary: hsl(267, 81%, 54%);