HSL(265, 45%, 57%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(265,45%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(265, 45%, 57%) color: hsl(265, 45%, 57%)
HEX #8960C3 color: #8960C3
RGB rgb(137, 96, 195) color: rgb(137, 96, 195)
CMYK cmyk(30%, 51%, 0%, 24%)
HSV hsv(265, 51%, 76%)
HWB hwb(265 37% 24%) color: hwb(265 37% 24%)
OKLCH oklch(0.5761 0.1507 300.91) color: oklch(0.5761 0.1507 300.91)
Lab lab(49.04 37.22 -45.92) color: lab(49.04 37.22 -45.92)
LCH lch(49.04 59.11 309.03) color: lch(49.04 59.11 309.03)

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 4.64:1
vs Black 4.52:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#7777AB — rgb(119, 119, 171)

Deuteranopia (Green-blind)

#7A7DA5 — rgb(122, 125, 165)

Tritanopia (Blue-blind)

#879894 — rgb(135, 152, 148)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(265, 45%, 57%);

text

color: hsl(265, 45%, 57%);

border

border: 2px solid hsl(265, 45%, 57%);

gradient light

background: linear-gradient(to right, hsl(265, 45%, 77%), hsl(265, 45%, 57%));

gradient dark

background: linear-gradient(to right, hsl(265, 45%, 57%), hsl(265, 45%, 37%))

hex

background-color: #8960C3;

tailwind

bg-[hsl(265,45%,57%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(265, 45%, 57%, 0.4);

css variable

--color-primary: hsl(265, 45%, 57%);

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(265, 45%, 57%)?

HEX: #8960C3 | RGB: rgb(137, 96, 195) | CMYK: 30%, 51%, 0%, 24% | HSV: 265°, 51%, 76%. Copy any format from the conversion table above.

What colors go well with #8960C3?

The complementary color is HSL(85, 45%, 57%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(265, 45%, 57%) in CSS?

As HSL: color: hsl(265, 45%, 57%); — As HEX: color: #8960C3; — As RGB: color: rgb(137, 96, 195); — Tailwind CSS: bg-[hsl(265,45%,57%)] — CSS variable: --color-primary: hsl(265, 45%, 57%);