HSL(299, 40%, 43%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,40%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 40%, 43%) color: hsl(299, 40%, 43%)
HEX #98429A color: #98429A
RGB rgb(152, 66, 154) color: rgb(152, 66, 154)
CMYK cmyk(1%, 57%, 0%, 40%)
HSV hsv(299, 57%, 60%)
HWB hwb(299 26% 40%) color: hwb(299 26% 40%)
OKLCH oklch(0.5257 0.1598 326.67) color: oklch(0.5257 0.1598 326.67)
Lab lab(42.62 48.29 -31.85) color: lab(42.62 48.29 -31.85)
LCH lch(42.62 57.85 326.59) color: lch(42.62 57.85 326.59)

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 5.86:1
vs Black 3.58:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#737285 — rgb(115, 114, 133)

Deuteranopia (Green-blind)

#787E80 — rgb(120, 126, 128)

Tritanopia (Blue-blind)

#947470 — rgb(148, 116, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 40%, 43%);

text

color: hsl(299, 40%, 43%);

border

border: 2px solid hsl(299, 40%, 43%);

gradient light

background: linear-gradient(to right, hsl(299, 40%, 63%), hsl(299, 40%, 43%));

gradient dark

background: linear-gradient(to right, hsl(299, 40%, 43%), hsl(299, 40%, 23%))

hex

background-color: #98429A;

tailwind

bg-[hsl(299,40%,43%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(299, 40%, 43%, 0.4);

css variable

--color-primary: hsl(299, 40%, 43%);

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(299, 40%, 43%)?

HEX: #98429A | RGB: rgb(152, 66, 154) | CMYK: 1%, 57%, 0%, 40% | HSV: 299°, 57%, 60%. Copy any format from the conversion table above.

What colors go well with #98429A?

The complementary color is HSL(119, 40%, 43%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 40%, 43%) in CSS?

As HSL: color: hsl(299, 40%, 43%); — As HEX: color: #98429A; — As RGB: color: rgb(152, 66, 154); — Tailwind CSS: bg-[hsl(299,40%,43%)] — CSS variable: --color-primary: hsl(299, 40%, 43%);