HSL(250, 100%, 78%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(250,100%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(250, 100%, 78%) color: hsl(250, 100%, 78%)
HEX #A28FFF color: #A28FFF
RGB rgb(162, 143, 255) color: rgb(162, 143, 255)
CMYK cmyk(36%, 44%, 0%, 0%)
HSV hsv(250, 44%, 100%)
HWB hwb(250 56% 0%) color: hwb(250 56% 0%)
OKLCH oklch(0.7145 0.1597 289.52) color: oklch(0.7145 0.1597 289.52)
Lab lab(65.39 32.31 -53.43) color: lab(65.39 32.31 -53.43)
LCH lch(65.39 62.44 301.16) color: lch(65.39 62.44 301.16)

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.66:1
vs Black 7.91: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)

#9A9AE4 — rgb(154, 154, 228)

Deuteranopia (Green-blind)

#9B9CDD — rgb(155, 156, 221)

Tritanopia (Blue-blind)

#A1CFCA — rgb(161, 207, 202)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(250, 100%, 78%);

text

color: hsl(250, 100%, 78%);

border

border: 2px solid hsl(250, 100%, 78%);

gradient light

background: linear-gradient(to right, hsl(250, 100%, 98%), hsl(250, 100%, 78%));

gradient dark

background: linear-gradient(to right, hsl(250, 100%, 78%), hsl(250, 100%, 58%))

hex

background-color: #A28FFF;

tailwind

bg-[hsl(250,100%,78%)]

box shadow

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

css variable

--color-primary: hsl(250, 100%, 78%);

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(250, 100%, 78%)?

HEX: #A28FFF | RGB: rgb(162, 143, 255) | CMYK: 36%, 44%, 0%, 0% | HSV: 250°, 44%, 100%. Copy any format from the conversion table above.

What colors go well with #A28FFF?

The complementary color is HSL(70, 100%, 78%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(250, 100%, 78%) in CSS?

As HSL: color: hsl(250, 100%, 78%); — As HEX: color: #A28FFF; — As RGB: color: rgb(162, 143, 255); — Tailwind CSS: bg-[hsl(250,100%,78%)] — CSS variable: --color-primary: hsl(250, 100%, 78%);