HSL(258, 68%, 76%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(258,68%,76%)]

Color Conversions

Format Value CSS Usage
HSL hsl(258, 68%, 76%) color: hsl(258, 68%, 76%)
HEX #B198EB color: #B198EB
RGB rgb(177, 152, 235) color: rgb(177, 152, 235)
CMYK cmyk(25%, 35%, 0%, 8%)
HSV hsv(258, 35%, 92%)
HWB hwb(258 60% 8%) color: hwb(258 60% 8%)
OKLCH oklch(0.7334 0.1202 297.2) color: oklch(0.7334 0.1202 297.2)
Lab lab(67.87 26.29 -38.48) color: lab(67.87 26.29 -38.48)
LCH lch(67.87 46.6 304.34) color: lch(67.87 46.6 304.34)

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.45:1
vs Black 8.56: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)

#A6A6D7 — rgb(166, 166, 215)

Deuteranopia (Green-blind)

#A8AAD2 — rgb(168, 170, 210)

Tritanopia (Blue-blind)

#B0C7C4 — rgb(176, 199, 196)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(258, 68%, 76%);

text

color: hsl(258, 68%, 76%);

border

border: 2px solid hsl(258, 68%, 76%);

gradient light

background: linear-gradient(to right, hsl(258, 68%, 96%), hsl(258, 68%, 76%));

gradient dark

background: linear-gradient(to right, hsl(258, 68%, 76%), hsl(258, 68%, 56%))

hex

background-color: #B198EB;

tailwind

bg-[hsl(258,68%,76%)]

box shadow

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

css variable

--color-primary: hsl(258, 68%, 76%);

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(258, 68%, 76%)?

HEX: #B198EB | RGB: rgb(177, 152, 235) | CMYK: 25%, 35%, 0%, 8% | HSV: 258°, 35%, 92%. Copy any format from the conversion table above.

What colors go well with #B198EB?

The complementary color is HSL(78, 68%, 76%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(258, 68%, 76%) in CSS?

As HSL: color: hsl(258, 68%, 76%); — As HEX: color: #B198EB; — As RGB: color: rgb(177, 152, 235); — Tailwind CSS: bg-[hsl(258,68%,76%)] — CSS variable: --color-primary: hsl(258, 68%, 76%);