HSL(278, 40%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,40%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 40%, 68%) color: hsl(278, 40%, 68%)
HEX #B68DCE color: #B68DCE
RGB rgb(182, 141, 206) color: rgb(182, 141, 206)
CMYK cmyk(12%, 32%, 0%, 19%)
HSV hsv(278, 32%, 81%)
HWB hwb(278 55% 19%) color: hwb(278 55% 19%)
OKLCH oklch(0.705 0.1027 312.58) color: oklch(0.705 0.1027 312.58)
Lab lab(64.52 27.46 -27.58) color: lab(64.52 27.46 -27.58)
LCH lch(64.52 38.92 314.88) color: lch(64.52 38.92 314.88)

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.73:1
vs Black 7.69: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)

#A4A4BE — rgb(164, 164, 190)

Deuteranopia (Green-blind)

#A7AABB — rgb(167, 170, 187)

Tritanopia (Blue-blind)

#B4B2AF — rgb(180, 178, 175)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 40%, 68%);

text

color: hsl(278, 40%, 68%);

border

border: 2px solid hsl(278, 40%, 68%);

gradient light

background: linear-gradient(to right, hsl(278, 40%, 88%), hsl(278, 40%, 68%));

gradient dark

background: linear-gradient(to right, hsl(278, 40%, 68%), hsl(278, 40%, 48%))

hex

background-color: #B68DCE;

tailwind

bg-[hsl(278,40%,68%)]

box shadow

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

css variable

--color-primary: hsl(278, 40%, 68%);

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(278, 40%, 68%)?

HEX: #B68DCE | RGB: rgb(182, 141, 206) | CMYK: 12%, 32%, 0%, 19% | HSV: 278°, 32%, 81%. Copy any format from the conversion table above.

What colors go well with #B68DCE?

The complementary color is HSL(98, 40%, 68%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 40%, 68%) in CSS?

As HSL: color: hsl(278, 40%, 68%); — As HEX: color: #B68DCE; — As RGB: color: rgb(182, 141, 206); — Tailwind CSS: bg-[hsl(278,40%,68%)] — CSS variable: --color-primary: hsl(278, 40%, 68%);