HSL(262, 79%, 65%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,79%,65%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 79%, 65%) color: hsl(262, 79%, 65%)
HEX #935FEC color: #935FEC
RGB rgb(147, 95, 236) color: rgb(147, 95, 236)
CMYK cmyk(38%, 60%, 0%, 7%)
HSV hsv(262, 60%, 93%)
HWB hwb(262 37% 7%) color: hwb(262 37% 7%)
OKLCH oklch(0.6107 0.2038 296.93) color: oklch(0.6107 0.2038 296.93)
Lab lab(52.33 50.59 -63.88) color: lab(52.33 50.59 -63.88)
LCH lch(52.33 81.49 308.38) color: lch(52.33 81.49 308.38)

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 4.13:1
vs Black 5.09: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)

#7C7CCA — rgb(124, 124, 202)

Deuteranopia (Green-blind)

#8083C2 — rgb(128, 131, 194)

Tritanopia (Blue-blind)

#90AFA9 — rgb(144, 175, 169)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 79%, 65%);

text

color: hsl(262, 79%, 65%);

border

border: 2px solid hsl(262, 79%, 65%);

gradient light

background: linear-gradient(to right, hsl(262, 79%, 85%), hsl(262, 79%, 65%));

gradient dark

background: linear-gradient(to right, hsl(262, 79%, 65%), hsl(262, 79%, 45%))

hex

background-color: #935FEC;

tailwind

bg-[hsl(262,79%,65%)]

box shadow

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

css variable

--color-primary: hsl(262, 79%, 65%);

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(262, 79%, 65%)?

HEX: #935FEC | RGB: rgb(147, 95, 236) | CMYK: 38%, 60%, 0%, 7% | HSV: 262°, 60%, 93%. Copy any format from the conversion table above.

What colors go well with #935FEC?

The complementary color is HSL(82, 79%, 65%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(262, 79%, 65%) in CSS?

As HSL: color: hsl(262, 79%, 65%); — As HEX: color: #935FEC; — As RGB: color: rgb(147, 95, 236); — Tailwind CSS: bg-[hsl(262,79%,65%)] — CSS variable: --color-primary: hsl(262, 79%, 65%);