HSL(274, 79%, 63%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(274,79%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(274, 79%, 63%) color: hsl(274, 79%, 63%)
HEX #AB56EB color: #AB56EB
RGB rgb(171, 86, 235) color: rgb(171, 86, 235)
CMYK cmyk(27%, 63%, 0%, 8%)
HSV hsv(274, 63%, 92%)
HWB hwb(274 34% 8%) color: hwb(274 34% 8%)
OKLCH oklch(0.6234 0.2195 307.43) color: oklch(0.6234 0.2195 307.43)
Lab lab(53.29 60.11 -61.64) color: lab(53.29 60.11 -61.64)
LCH lch(53.29 86.1 314.28) color: lch(53.29 86.1 314.28)

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 3.99:1
vs Black 5.26:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8685C7 — rgb(134, 133, 199)

Deuteranopia (Green-blind)

#8B92BE — rgb(139, 146, 190)

Tritanopia (Blue-blind)

#A7AAA4 — rgb(167, 170, 164)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(274, 79%, 63%);

text

color: hsl(274, 79%, 63%);

border

border: 2px solid hsl(274, 79%, 63%);

gradient light

background: linear-gradient(to right, hsl(274, 79%, 83%), hsl(274, 79%, 63%));

gradient dark

background: linear-gradient(to right, hsl(274, 79%, 63%), hsl(274, 79%, 43%))

hex

background-color: #AB56EB;

tailwind

bg-[hsl(274,79%,63%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(274, 79%, 63%, 0.4);

css variable

--color-primary: hsl(274, 79%, 63%);

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(274, 79%, 63%)?

HEX: #AB56EB | RGB: rgb(171, 86, 235) | CMYK: 27%, 63%, 0%, 8% | HSV: 274°, 63%, 92%. Copy any format from the conversion table above.

What colors go well with #AB56EB?

The complementary color is HSL(94, 79%, 63%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(274, 79%, 63%) in CSS?

As HSL: color: hsl(274, 79%, 63%); — As HEX: color: #AB56EB; — As RGB: color: rgb(171, 86, 235); — Tailwind CSS: bg-[hsl(274,79%,63%)] — CSS variable: --color-primary: hsl(274, 79%, 63%);