HSL(266, 78%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,78%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 78%, 74%) color: hsl(266, 78%, 74%)
HEX #B689F0 color: #B689F0
RGB rgb(182, 137, 240) color: rgb(182, 137, 240)
CMYK cmyk(24%, 43%, 0%, 6%)
HSV hsv(266, 43%, 94%)
HWB hwb(266 54% 6%) color: hwb(266 54% 6%)
OKLCH oklch(0.7139 0.1517 302.91) color: oklch(0.7139 0.1517 302.91)
Lab lab(65.06 37.26 -45.6) color: lab(65.06 37.26 -45.6)
LCH lch(65.06 58.89 309.25) color: lch(65.06 58.89 309.25)

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 2.68:1
vs Black 7.83:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A3A2D7 — rgb(163, 162, 215)

Deuteranopia (Green-blind)

#A5A9D1 — rgb(165, 169, 209)

Tritanopia (Blue-blind)

#B4C3BF — rgb(180, 195, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 78%, 74%);

text

color: hsl(266, 78%, 74%);

border

border: 2px solid hsl(266, 78%, 74%);

gradient light

background: linear-gradient(to right, hsl(266, 78%, 94%), hsl(266, 78%, 74%));

gradient dark

background: linear-gradient(to right, hsl(266, 78%, 74%), hsl(266, 78%, 54%))

hex

background-color: #B689F0;

tailwind

bg-[hsl(266,78%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(266, 78%, 74%, 0.4);

css variable

--color-primary: hsl(266, 78%, 74%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(266, 78%, 74%)?

HEX: #B689F0 | RGB: rgb(182, 137, 240) | CMYK: 24%, 43%, 0%, 6% | HSV: 266°, 43%, 94%. Copy any format from the conversion table above.

What colors go well with #B689F0?

The complementary color is HSL(86, 78%, 74%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 78%, 74%) in CSS?

As HSL: color: hsl(266, 78%, 74%); — As HEX: color: #B689F0; — As RGB: color: rgb(182, 137, 240); — Tailwind CSS: bg-[hsl(266,78%,74%)] — CSS variable: --color-primary: hsl(266, 78%, 74%);