HSL(282, 20%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(282,20%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 20%, 68%) color: hsl(282, 20%, 68%)
HEX #B49DBE color: #B49DBE
RGB rgb(180, 157, 190) color: rgb(180, 157, 190)
CMYK cmyk(5%, 17%, 0%, 25%)
HSV hsv(282, 17%, 75%)
HWB hwb(282 62% 25%) color: hwb(282 62% 25%)
OKLCH oklch(0.7269 0.0534 315.64) color: oklch(0.7269 0.0534 315.64)
Lab lab(67.68 14.56 -13.88) color: lab(67.68 14.56 -13.88)
LCH lch(67.68 20.12 316.37) color: lch(67.68 20.12 316.37)

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.47:1
vs Black 8.51: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)

#AAAAB6 — rgb(170, 170, 182)

Deuteranopia (Green-blind)

#ABADB4 — rgb(171, 173, 180)

Tritanopia (Blue-blind)

#B3B0AE — rgb(179, 176, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 20%, 68%);

text

color: hsl(282, 20%, 68%);

border

border: 2px solid hsl(282, 20%, 68%);

gradient light

background: linear-gradient(to right, hsl(282, 20%, 88%), hsl(282, 20%, 68%));

gradient dark

background: linear-gradient(to right, hsl(282, 20%, 68%), hsl(282, 20%, 48%))

hex

background-color: #B49DBE;

tailwind

bg-[hsl(282,20%,68%)]

box shadow

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

css variable

--color-primary: hsl(282, 20%, 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(282, 20%, 68%)?

HEX: #B49DBE | RGB: rgb(180, 157, 190) | CMYK: 5%, 17%, 0%, 25% | HSV: 282°, 17%, 75%. Copy any format from the conversion table above.

What colors go well with #B49DBE?

The complementary color is HSL(102, 20%, 68%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 20%, 68%) in CSS?

As HSL: color: hsl(282, 20%, 68%); — As HEX: color: #B49DBE; — As RGB: color: rgb(180, 157, 190); — Tailwind CSS: bg-[hsl(282,20%,68%)] — CSS variable: --color-primary: hsl(282, 20%, 68%);