HSL(265, 42%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(265,42%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(265, 42%, 62%) color: hsl(265, 42%, 62%)
HEX #9775C7 color: #9775C7
RGB rgb(151, 117, 199) color: rgb(151, 117, 199)
CMYK cmyk(24%, 41%, 0%, 22%)
HSV hsv(265, 41%, 78%)
HWB hwb(265 46% 22%) color: hwb(265 46% 22%)
OKLCH oklch(0.6285 0.1246 302.05) color: oklch(0.6285 0.1246 302.05)
Lab lab(55.51 30.04 -37.89) color: lab(55.51 30.04 -37.89)
LCH lch(55.51 48.35 308.41) color: lch(55.51 48.35 308.41)

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.69:1
vs Black 5.69: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)

#8888B3 — rgb(136, 136, 179)

Deuteranopia (Green-blind)

#8A8DAE — rgb(138, 141, 174)

Tritanopia (Blue-blind)

#95A3A0 — rgb(149, 163, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(265, 42%, 62%);

text

color: hsl(265, 42%, 62%);

border

border: 2px solid hsl(265, 42%, 62%);

gradient light

background: linear-gradient(to right, hsl(265, 42%, 82%), hsl(265, 42%, 62%));

gradient dark

background: linear-gradient(to right, hsl(265, 42%, 62%), hsl(265, 42%, 42%))

hex

background-color: #9775C7;

tailwind

bg-[hsl(265,42%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(265, 42%, 62%, 0.4);

css variable

--color-primary: hsl(265, 42%, 62%);

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(265, 42%, 62%)?

HEX: #9775C7 | RGB: rgb(151, 117, 199) | CMYK: 24%, 41%, 0%, 22% | HSV: 265°, 41%, 78%. Copy any format from the conversion table above.

What colors go well with #9775C7?

The complementary color is HSL(85, 42%, 62%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(265, 42%, 62%) in CSS?

As HSL: color: hsl(265, 42%, 62%); — As HEX: color: #9775C7; — As RGB: color: rgb(151, 117, 199); — Tailwind CSS: bg-[hsl(265,42%,62%)] — CSS variable: --color-primary: hsl(265, 42%, 62%);