HSL(254, 89%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(254,89%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(254, 89%, 70%) | color: hsl(254, 89%, 70%) | |
| HEX | #8E6EF7 | color: #8E6EF7 | |
| RGB | rgb(142, 110, 247) | color: rgb(142, 110, 247) | |
| CMYK | cmyk(43%, 55%, 0%, 3%) | — | |
| HSV | hsv(254, 55%, 97%) | — | |
| HWB | hwb(254 44% 3%) | color: hwb(254 44% 3%) | |
| OKLCH | oklch(0.6365 0.1964 290.48) | color: oklch(0.6365 0.1964 290.48) | |
| Lab | lab(55.7 44.18 -64.61) | color: lab(55.7 44.18 -64.61) | |
| LCH | lch(55.7 78.27 304.36) | color: lch(55.7 78.27 304.36) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#8080D6 — rgb(128, 128, 214)
Deuteranopia (Green-blind)
#8284CE — rgb(130, 132, 206)
Tritanopia (Blue-blind)
#8CBCB6 — rgb(140, 188, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(254, 89%, 70%);
text
color: hsl(254, 89%, 70%);
border
border: 2px solid hsl(254, 89%, 70%);
gradient light
background: linear-gradient(to right, hsl(254, 89%, 90%), hsl(254, 89%, 70%));
gradient dark
background: linear-gradient(to right, hsl(254, 89%, 70%), hsl(254, 89%, 50%))
hex
background-color: #8E6EF7;
tailwind
bg-[hsl(254,89%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(254, 89%, 70%, 0.4);
css variable
--color-primary: hsl(254, 89%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(254, 89%, 70%)?
HEX: #8E6EF7 | RGB: rgb(142, 110, 247) | CMYK: 43%, 55%, 0%, 3% | HSV: 254°, 55%, 97%. Copy any format from the conversion table above.
What colors go well with #8E6EF7?
The complementary color is HSL(74, 89%, 70%). For a triadic harmony, use hues 254°, 14°, and 134°. For analogous combinations, try hues 224° and 284°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(254, 89%, 70%) in CSS?
As HSL: color: hsl(254, 89%, 70%); — As HEX: color: #8E6EF7; — As RGB: color: rgb(142, 110, 247); — Tailwind CSS: bg-[hsl(254,89%,70%)] — CSS variable: --color-primary: hsl(254, 89%, 70%);