HSL(268, 70%, 72%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(268,70%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(268, 70%, 72%) color: hsl(268, 70%, 72%)
HEX #B486EA color: #B486EA
RGB rgb(180, 134, 234) color: rgb(180, 134, 234)
CMYK cmyk(23%, 43%, 0%, 8%)
HSV hsv(268, 43%, 92%)
HWB hwb(268 52% 8%) color: hwb(268 52% 8%)
OKLCH oklch(0.7039 0.1485 304.05) color: oklch(0.7039 0.1485 304.05)
Lab lab(63.91 36.98 -44.12) color: lab(63.91 36.98 -44.12)
LCH lch(63.91 57.57 309.97) color: lch(63.91 57.57 309.97)

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.79:1
vs Black 7.54: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)

#A0A0D2 — rgb(160, 160, 210)

Deuteranopia (Green-blind)

#A3A6CC — rgb(163, 166, 204)

Tritanopia (Blue-blind)

#B2BFBB — rgb(178, 191, 187)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(268, 70%, 72%);

text

color: hsl(268, 70%, 72%);

border

border: 2px solid hsl(268, 70%, 72%);

gradient light

background: linear-gradient(to right, hsl(268, 70%, 92%), hsl(268, 70%, 72%));

gradient dark

background: linear-gradient(to right, hsl(268, 70%, 72%), hsl(268, 70%, 52%))

hex

background-color: #B486EA;

tailwind

bg-[hsl(268,70%,72%)]

box shadow

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

css variable

--color-primary: hsl(268, 70%, 72%);

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(268, 70%, 72%)?

HEX: #B486EA | RGB: rgb(180, 134, 234) | CMYK: 23%, 43%, 0%, 8% | HSV: 268°, 43%, 92%. Copy any format from the conversion table above.

What colors go well with #B486EA?

The complementary color is HSL(88, 70%, 72%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(268, 70%, 72%) in CSS?

As HSL: color: hsl(268, 70%, 72%); — As HEX: color: #B486EA; — As RGB: color: rgb(180, 134, 234); — Tailwind CSS: bg-[hsl(268,70%,72%)] — CSS variable: --color-primary: hsl(268, 70%, 72%);