HSL(265, 45%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(265,45%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(265, 45%, 68%) color: hsl(265, 45%, 68%)
HEX #A789D2 color: #A789D2
RGB rgb(167, 137, 210) color: rgb(167, 137, 210)
CMYK cmyk(20%, 35%, 0%, 18%)
HSV hsv(265, 35%, 82%)
HWB hwb(265 53% 18%) color: hwb(265 53% 18%)
OKLCH oklch(0.6853 0.1095 302.5) color: oklch(0.6853 0.1095 302.5)
Lab lab(62.3 25.95 -33.37) color: lab(62.3 25.95 -33.37)
LCH lch(62.3 42.27 307.87) color: lch(62.3 42.27 307.87)

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.94:1
vs Black 7.15: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)

#9A9AC0 — rgb(154, 154, 192)

Deuteranopia (Green-blind)

#9C9EBC — rgb(156, 158, 188)

Tritanopia (Blue-blind)

#A6B2AF — rgb(166, 178, 175)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(265, 45%, 68%);

text

color: hsl(265, 45%, 68%);

border

border: 2px solid hsl(265, 45%, 68%);

gradient light

background: linear-gradient(to right, hsl(265, 45%, 88%), hsl(265, 45%, 68%));

gradient dark

background: linear-gradient(to right, hsl(265, 45%, 68%), hsl(265, 45%, 48%))

hex

background-color: #A789D2;

tailwind

bg-[hsl(265,45%,68%)]

box shadow

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

css variable

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

HEX: #A789D2 | RGB: rgb(167, 137, 210) | CMYK: 20%, 35%, 0%, 18% | HSV: 265°, 35%, 82%. Copy any format from the conversion table above.

What colors go well with #A789D2?

The complementary color is HSL(85, 45%, 68%). 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, 45%, 68%) in CSS?

As HSL: color: hsl(265, 45%, 68%); — As HEX: color: #A789D2; — As RGB: color: rgb(167, 137, 210); — Tailwind CSS: bg-[hsl(265,45%,68%)] — CSS variable: --color-primary: hsl(265, 45%, 68%);