HSL(257, 85%, 78%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,85%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 85%, 78%) color: hsl(257, 85%, 78%)
HEX #B297F7 color: #B297F7
RGB rgb(178, 151, 247) color: rgb(178, 151, 247)
CMYK cmyk(28%, 39%, 0%, 3%)
HSV hsv(257, 39%, 97%)
HWB hwb(257 59% 3%) color: hwb(257 59% 3%)
OKLCH oklch(0.7382 0.1378 295.78) color: oklch(0.7382 0.1378 295.78)
Lab lab(68.25 30.01 -44.46) color: lab(68.25 30.01 -44.46)
LCH lch(68.25 53.64 304.02) color: lch(68.25 53.64 304.02)

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.42:1
vs Black 8.66: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)

#A6A6E0 — rgb(166, 166, 224)

Deuteranopia (Green-blind)

#A8AADA — rgb(168, 170, 218)

Tritanopia (Blue-blind)

#B1CDC9 — rgb(177, 205, 201)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 85%, 78%);

text

color: hsl(257, 85%, 78%);

border

border: 2px solid hsl(257, 85%, 78%);

gradient light

background: linear-gradient(to right, hsl(257, 85%, 98%), hsl(257, 85%, 78%));

gradient dark

background: linear-gradient(to right, hsl(257, 85%, 78%), hsl(257, 85%, 58%))

hex

background-color: #B297F7;

tailwind

bg-[hsl(257,85%,78%)]

box shadow

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

css variable

--color-primary: hsl(257, 85%, 78%);

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(257, 85%, 78%)?

HEX: #B297F7 | RGB: rgb(178, 151, 247) | CMYK: 28%, 39%, 0%, 3% | HSV: 257°, 39%, 97%. Copy any format from the conversion table above.

What colors go well with #B297F7?

The complementary color is HSL(77, 85%, 78%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 85%, 78%) in CSS?

As HSL: color: hsl(257, 85%, 78%); — As HEX: color: #B297F7; — As RGB: color: rgb(178, 151, 247); — Tailwind CSS: bg-[hsl(257,85%,78%)] — CSS variable: --color-primary: hsl(257, 85%, 78%);