HSL(276, 98%, 70%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(276,98%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(276, 98%, 70%) color: hsl(276, 98%, 70%)
HEX #C168FD color: #C168FD
RGB rgb(193, 104, 253) color: rgb(193, 104, 253)
CMYK cmyk(24%, 59%, 0%, 1%)
HSV hsv(276, 59%, 99%)
HWB hwb(276 41% 1%) color: hwb(276 41% 1%)
OKLCH oklch(0.6826 0.22 309.3) color: oklch(0.6826 0.22 309.3)
Lab lab(60.19 60.35 -60.44) color: lab(60.19 60.35 -60.44)
LCH lch(60.19 85.41 314.96) color: lch(60.19 85.41 314.96)

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.15:1
vs Black 6.67: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)

#9A9AD9 — rgb(154, 154, 217)

Deuteranopia (Green-blind)

#A0A6D0 — rgb(160, 166, 208)

Tritanopia (Blue-blind)

#BDBCB6 — rgb(189, 188, 182)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(276, 98%, 70%);

text

color: hsl(276, 98%, 70%);

border

border: 2px solid hsl(276, 98%, 70%);

gradient light

background: linear-gradient(to right, hsl(276, 98%, 90%), hsl(276, 98%, 70%));

gradient dark

background: linear-gradient(to right, hsl(276, 98%, 70%), hsl(276, 98%, 50%))

hex

background-color: #C168FD;

tailwind

bg-[hsl(276,98%,70%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(276, 98%, 70%, 0.4);

css variable

--color-primary: hsl(276, 98%, 70%);

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(276, 98%, 70%)?

HEX: #C168FD | RGB: rgb(193, 104, 253) | CMYK: 24%, 59%, 0%, 1% | HSV: 276°, 59%, 99%. Copy any format from the conversion table above.

What colors go well with #C168FD?

The complementary color is HSL(96, 98%, 70%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(276, 98%, 70%) in CSS?

As HSL: color: hsl(276, 98%, 70%); — As HEX: color: #C168FD; — As RGB: color: rgb(193, 104, 253); — Tailwind CSS: bg-[hsl(276,98%,70%)] — CSS variable: --color-primary: hsl(276, 98%, 70%);