HSL(270, 40%, 53%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(270,40%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(270, 40%, 53%) color: hsl(270, 40%, 53%)
HEX #8757B7 color: #8757B7
RGB rgb(135, 87, 183) color: rgb(135, 87, 183)
CMYK cmyk(26%, 52%, 0%, 28%)
HSV hsv(270, 52%, 72%)
HWB hwb(270 35% 28%) color: hwb(270 35% 28%)
OKLCH oklch(0.552 0.1496 305.1) color: oklch(0.552 0.1496 305.1)
Lab lab(46.16 38.81 -43.55) color: lab(46.16 38.81 -43.55)
LCH lch(46.16 58.33 311.71) color: lch(46.16 58.33 311.71)

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 5.15:1
vs Black 4.08: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)

#7272A0 — rgb(114, 114, 160)

Deuteranopia (Green-blind)

#75799A — rgb(117, 121, 154)

Tritanopia (Blue-blind)

#858D89 — rgb(133, 141, 137)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(270, 40%, 53%);

text

color: hsl(270, 40%, 53%);

border

border: 2px solid hsl(270, 40%, 53%);

gradient light

background: linear-gradient(to right, hsl(270, 40%, 73%), hsl(270, 40%, 53%));

gradient dark

background: linear-gradient(to right, hsl(270, 40%, 53%), hsl(270, 40%, 33%))

hex

background-color: #8757B7;

tailwind

bg-[hsl(270,40%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(270, 40%, 53%, 0.4);

css variable

--color-primary: hsl(270, 40%, 53%);

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(270, 40%, 53%)?

HEX: #8757B7 | RGB: rgb(135, 87, 183) | CMYK: 26%, 52%, 0%, 28% | HSV: 270°, 52%, 72%. Copy any format from the conversion table above.

What colors go well with #8757B7?

The complementary color is HSL(90, 40%, 53%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(270, 40%, 53%) in CSS?

As HSL: color: hsl(270, 40%, 53%); — As HEX: color: #8757B7; — As RGB: color: rgb(135, 87, 183); — Tailwind CSS: bg-[hsl(270,40%,53%)] — CSS variable: --color-primary: hsl(270, 40%, 53%);