HSL(270, 50%, 70%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(270,50%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(270, 50%, 70%) color: hsl(270, 50%, 70%)
HEX #B38CD9 color: #B38CD9
RGB rgb(179, 140, 217) color: rgb(179, 140, 217)
CMYK cmyk(18%, 35%, 0%, 15%)
HSV hsv(270, 35%, 85%)
HWB hwb(270 55% 15%) color: hwb(270 55% 15%)
OKLCH oklch(0.7052 0.1169 306.87) color: oklch(0.7052 0.1169 306.87)
Lab lab(64.44 29.48 -33.87) color: lab(64.44 29.48 -33.87)
LCH lch(64.44 44.9 311.04) color: lch(64.44 44.9 311.04)

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.74:1
vs Black 7.67: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)

#A2A2C6 — rgb(162, 162, 198)

Deuteranopia (Green-blind)

#A4A7C2 — rgb(164, 167, 194)

Tritanopia (Blue-blind)

#B1B8B4 — rgb(177, 184, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(270, 50%, 70%);

text

color: hsl(270, 50%, 70%);

border

border: 2px solid hsl(270, 50%, 70%);

gradient light

background: linear-gradient(to right, hsl(270, 50%, 90%), hsl(270, 50%, 70%));

gradient dark

background: linear-gradient(to right, hsl(270, 50%, 70%), hsl(270, 50%, 50%))

hex

background-color: #B38CD9;

tailwind

bg-[hsl(270,50%,70%)]

box shadow

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

css variable

--color-primary: hsl(270, 50%, 70%);

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, 50%, 70%)?

HEX: #B38CD9 | RGB: rgb(179, 140, 217) | CMYK: 18%, 35%, 0%, 15% | HSV: 270°, 35%, 85%. Copy any format from the conversion table above.

What colors go well with #B38CD9?

The complementary color is HSL(90, 50%, 70%). 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, 50%, 70%) in CSS?

As HSL: color: hsl(270, 50%, 70%); — As HEX: color: #B38CD9; — As RGB: color: rgb(179, 140, 217); — Tailwind CSS: bg-[hsl(270,50%,70%)] — CSS variable: --color-primary: hsl(270, 50%, 70%);