HSL(281, 98%, 79%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(281,98%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 98%, 79%) color: hsl(281, 98%, 79%)
HEX #DD95FE color: #DD95FE
RGB rgb(221, 149, 254) color: rgb(221, 149, 254)
CMYK cmyk(13%, 41%, 0%, 0%)
HSV hsv(281, 41%, 100%)
HWB hwb(281 59% 0%) color: hwb(281 59% 0%)
OKLCH oklch(0.7789 0.1619 314.57) color: oklch(0.7789 0.1619 314.57)
Lab lab(72.24 44.83 -41.72) color: lab(72.24 44.83 -41.72)
LCH lch(72.24 61.24 317.06) color: lch(72.24 61.24 317.06)

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.14:1
vs Black 9.8: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)

#BEBDE5 — rgb(190, 189, 229)

Deuteranopia (Green-blind)

#C2C7DF — rgb(194, 199, 223)

Tritanopia (Blue-blind)

#D9D1CC — rgb(217, 209, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 98%, 79%);

text

color: hsl(281, 98%, 79%);

border

border: 2px solid hsl(281, 98%, 79%);

gradient light

background: linear-gradient(to right, hsl(281, 98%, 99%), hsl(281, 98%, 79%));

gradient dark

background: linear-gradient(to right, hsl(281, 98%, 79%), hsl(281, 98%, 59%))

hex

background-color: #DD95FE;

tailwind

bg-[hsl(281,98%,79%)]

box shadow

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

css variable

--color-primary: hsl(281, 98%, 79%);

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(281, 98%, 79%)?

HEX: #DD95FE | RGB: rgb(221, 149, 254) | CMYK: 13%, 41%, 0%, 0% | HSV: 281°, 41%, 100%. Copy any format from the conversion table above.

What colors go well with #DD95FE?

The complementary color is HSL(101, 98%, 79%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(281, 98%, 79%) in CSS?

As HSL: color: hsl(281, 98%, 79%); — As HEX: color: #DD95FE; — As RGB: color: rgb(221, 149, 254); — Tailwind CSS: bg-[hsl(281,98%,79%)] — CSS variable: --color-primary: hsl(281, 98%, 79%);