HSL(274, 69%, 78%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(274,69%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(274, 69%, 78%) color: hsl(274, 69%, 78%)
HEX #CCA0EE color: #CCA0EE
RGB rgb(204, 160, 238) color: rgb(204, 160, 238)
CMYK cmyk(14%, 33%, 0%, 7%)
HSV hsv(274, 33%, 93%)
HWB hwb(274 62% 7%) color: hwb(274 62% 7%)
OKLCH oklch(0.7736 0.1179 309.62) color: oklch(0.7736 0.1179 309.62)
Lab lab(72.33 30.56 -33.01) color: lab(72.33 30.56 -33.01)
LCH lch(72.33 44.98 312.79) color: lch(72.33 44.98 312.79)

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.83: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)

#B9B9DB — rgb(185, 185, 219)

Deuteranopia (Green-blind)

#BCBFD7 — rgb(188, 191, 215)

Tritanopia (Blue-blind)

#CACCC9 — rgb(202, 204, 201)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(274, 69%, 78%);

text

color: hsl(274, 69%, 78%);

border

border: 2px solid hsl(274, 69%, 78%);

gradient light

background: linear-gradient(to right, hsl(274, 69%, 98%), hsl(274, 69%, 78%));

gradient dark

background: linear-gradient(to right, hsl(274, 69%, 78%), hsl(274, 69%, 58%))

hex

background-color: #CCA0EE;

tailwind

bg-[hsl(274,69%,78%)]

box shadow

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

css variable

--color-primary: hsl(274, 69%, 78%);

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, 69%, 78%)?

HEX: #CCA0EE | RGB: rgb(204, 160, 238) | CMYK: 14%, 33%, 0%, 7% | HSV: 274°, 33%, 93%. Copy any format from the conversion table above.

What colors go well with #CCA0EE?

The complementary color is HSL(94, 69%, 78%). 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, 69%, 78%) in CSS?

As HSL: color: hsl(274, 69%, 78%); — As HEX: color: #CCA0EE; — As RGB: color: rgb(204, 160, 238); — Tailwind CSS: bg-[hsl(274,69%,78%)] — CSS variable: --color-primary: hsl(274, 69%, 78%);