HSL(312, 100%, 72%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(312,100%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(312, 100%, 72%) color: hsl(312, 100%, 72%)
HEX #FF70E2 color: #FF70E2
RGB rgb(255, 112, 226) color: rgb(255, 112, 226)
CMYK cmyk(0%, 56%, 11%, 0%)
HSV hsv(312, 56%, 100%)
HWB hwb(312 44% 0%) color: hwb(312 44% 0%)
OKLCH oklch(0.7544 0.2151 336.06) color: oklch(0.7544 0.2151 336.06)
Lab lab(68.27 67.48 -32.22) color: lab(68.27 67.48 -32.22)
LCH lch(68.27 74.78 334.48) color: lch(68.27 74.78 334.48)

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.42:1
vs Black 8.67: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)

#C1C0C6 — rgb(193, 192, 198)

Deuteranopia (Green-blind)

#C9D4C0 — rgb(201, 212, 192)

Tritanopia (Blue-blind)

#F8B1AC — rgb(248, 177, 172)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(312, 100%, 72%);

text

color: hsl(312, 100%, 72%);

border

border: 2px solid hsl(312, 100%, 72%);

gradient light

background: linear-gradient(to right, hsl(312, 100%, 92%), hsl(312, 100%, 72%));

gradient dark

background: linear-gradient(to right, hsl(312, 100%, 72%), hsl(312, 100%, 52%))

hex

background-color: #FF70E2;

tailwind

bg-[hsl(312,100%,72%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(312, 100%, 72%, 0.4);

css variable

--color-primary: hsl(312, 100%, 72%);

Related Colors

Use Cases for Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(312, 100%, 72%)?

HEX: #FF70E2 | RGB: rgb(255, 112, 226) | CMYK: 0%, 56%, 11%, 0% | HSV: 312°, 56%, 100%. Copy any format from the conversion table above.

What colors go well with #FF70E2?

The complementary color is HSL(132, 100%, 72%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(312, 100%, 72%) in CSS?

As HSL: color: hsl(312, 100%, 72%); — As HEX: color: #FF70E2; — As RGB: color: rgb(255, 112, 226); — Tailwind CSS: bg-[hsl(312,100%,72%)] — CSS variable: --color-primary: hsl(312, 100%, 72%);