HSL(252, 86%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(252,86%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(252, 86%, 74%) color: hsl(252, 86%, 74%)
HEX #9A84F6 color: #9A84F6
RGB rgb(154, 132, 246) color: rgb(154, 132, 246)
CMYK cmyk(37%, 46%, 0%, 4%)
HSV hsv(252, 46%, 96%)
HWB hwb(252 52% 4%) color: hwb(252 52% 4%)
OKLCH oklch(0.6834 0.1639 290.25) color: oklch(0.6834 0.1639 290.25)
Lab lab(61.68 34.2 -54.43) color: lab(61.68 34.2 -54.43)
LCH lch(61.68 64.28 302.14) color: lch(61.68 64.28 302.14)

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:1
vs Black 7.01: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)

#9090DA — rgb(144, 144, 218)

Deuteranopia (Green-blind)

#9293D4 — rgb(146, 147, 212)

Tritanopia (Blue-blind)

#99C5C0 — rgb(153, 197, 192)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(252, 86%, 74%);

text

color: hsl(252, 86%, 74%);

border

border: 2px solid hsl(252, 86%, 74%);

gradient light

background: linear-gradient(to right, hsl(252, 86%, 94%), hsl(252, 86%, 74%));

gradient dark

background: linear-gradient(to right, hsl(252, 86%, 74%), hsl(252, 86%, 54%))

hex

background-color: #9A84F6;

tailwind

bg-[hsl(252,86%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(252, 86%, 74%, 0.4);

css variable

--color-primary: hsl(252, 86%, 74%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(252, 86%, 74%)?

HEX: #9A84F6 | RGB: rgb(154, 132, 246) | CMYK: 37%, 46%, 0%, 4% | HSV: 252°, 46%, 96%. Copy any format from the conversion table above.

What colors go well with #9A84F6?

The complementary color is HSL(72, 86%, 74%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(252, 86%, 74%) in CSS?

As HSL: color: hsl(252, 86%, 74%); — As HEX: color: #9A84F6; — As RGB: color: rgb(154, 132, 246); — Tailwind CSS: bg-[hsl(252,86%,74%)] — CSS variable: --color-primary: hsl(252, 86%, 74%);