HSL(281, 20%, 74%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(281,20%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 20%, 74%) color: hsl(281, 20%, 74%)
HEX #C2AFCA color: #C2AFCA
RGB rgb(194, 175, 202) color: rgb(194, 175, 202)
CMYK cmyk(4%, 13%, 0%, 21%)
HSV hsv(282, 13%, 79%)
HWB hwb(282 69% 21%) color: hwb(282 69% 21%)
OKLCH oklch(0.7786 0.0431 315.96) color: oklch(0.7786 0.0431 315.96)
Lab lab(73.8 11.76 -11.19) color: lab(73.8 11.76 -11.19)
LCH lch(73.8 16.23 316.42) color: lch(73.8 16.23 316.42)

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.04:1
vs Black 10.28: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)

#BABAC3 — rgb(186, 186, 195)

Deuteranopia (Green-blind)

#BBBCC2 — rgb(187, 188, 194)

Tritanopia (Blue-blind)

#C1BEBD — rgb(193, 190, 189)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 20%, 74%);

text

color: hsl(281, 20%, 74%);

border

border: 2px solid hsl(281, 20%, 74%);

gradient light

background: linear-gradient(to right, hsl(281, 20%, 94%), hsl(281, 20%, 74%));

gradient dark

background: linear-gradient(to right, hsl(281, 20%, 74%), hsl(281, 20%, 54%))

hex

background-color: #C2AFCA;

tailwind

bg-[hsl(281,20%,74%)]

box shadow

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

css variable

--color-primary: hsl(281, 20%, 74%);

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, 20%, 74%)?

HEX: #C2AFCA | RGB: rgb(194, 175, 202) | CMYK: 4%, 13%, 0%, 21% | HSV: 282°, 13%, 79%. Copy any format from the conversion table above.

What colors go well with #C2AFCA?

The complementary color is HSL(101, 20%, 74%). 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, 20%, 74%) in CSS?

As HSL: color: hsl(281, 20%, 74%); — As HEX: color: #C2AFCA; — As RGB: color: rgb(194, 175, 202); — Tailwind CSS: bg-[hsl(281,20%,74%)] — CSS variable: --color-primary: hsl(281, 20%, 74%);