HSL(313, 50%, 62%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(313,50%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 50%, 62%) color: hsl(313, 50%, 62%)
HEX #CF6EBA color: #CF6EBA
RGB rgb(207, 110, 186) color: rgb(207, 110, 186)
CMYK cmyk(0%, 47%, 10%, 19%)
HSV hsv(313, 47%, 81%)
HWB hwb(313 43% 19%) color: hwb(313 43% 19%)
OKLCH oklch(0.6735 0.1532 335.86) color: oklch(0.6735 0.1532 335.86)
Lab lab(59.86 48.26 -23.23) color: lab(59.86 48.26 -23.23)
LCH lch(59.86 53.56 334.3) color: lch(59.86 53.56 334.3)

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.19:1
vs Black 6.59: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)

#A5A4A8 — rgb(165, 164, 168)

Deuteranopia (Green-blind)

#ABB2A3 — rgb(171, 178, 163)

Tritanopia (Blue-blind)

#CA9996 — rgb(202, 153, 150)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 50%, 62%);

text

color: hsl(313, 50%, 62%);

border

border: 2px solid hsl(313, 50%, 62%);

gradient light

background: linear-gradient(to right, hsl(313, 50%, 82%), hsl(313, 50%, 62%));

gradient dark

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

hex

background-color: #CF6EBA;

tailwind

bg-[hsl(313,50%,62%)]

box shadow

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

css variable

--color-primary: hsl(313, 50%, 62%);

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(313, 50%, 62%)?

HEX: #CF6EBA | RGB: rgb(207, 110, 186) | CMYK: 0%, 47%, 10%, 19% | HSV: 313°, 47%, 81%. Copy any format from the conversion table above.

What colors go well with #CF6EBA?

The complementary color is HSL(133, 50%, 62%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 50%, 62%) in CSS?

As HSL: color: hsl(313, 50%, 62%); — As HEX: color: #CF6EBA; — As RGB: color: rgb(207, 110, 186); — Tailwind CSS: bg-[hsl(313,50%,62%)] — CSS variable: --color-primary: hsl(313, 50%, 62%);