HSL(247, 94%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,94%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 94%, 71%) | color: hsl(247, 94%, 71%) | |
| HEX | #8070FB | color: #8070FB | |
| RGB | rgb(128, 112, 251) | color: rgb(128, 112, 251) | |
| CMYK | cmyk(49%, 55%, 0%, 2%) | — | |
| HSV | hsv(247, 55%, 98%) | — | |
| HWB | hwb(247 44% 2%) | color: hwb(247 44% 2%) | |
| OKLCH | oklch(0.6308 0.1995 284.33) | color: oklch(0.6308 0.1995 284.33) | |
| Lab | lab(55.22 41.24 -67.66) | color: lab(55.22 41.24 -67.66) | |
| LCH | lch(55.22 79.24 301.36) | color: lch(55.22 79.24 301.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)
#7979D9 — rgb(121, 121, 217)
Deuteranopia (Green-blind)
#7A7BD1 — rgb(122, 123, 209)
Tritanopia (Blue-blind)
#7FBFB9 — rgb(127, 191, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 94%, 71%);
text
color: hsl(247, 94%, 71%);
border
border: 2px solid hsl(247, 94%, 71%);
gradient light
background: linear-gradient(to right, hsl(247, 94%, 91%), hsl(247, 94%, 71%));
gradient dark
background: linear-gradient(to right, hsl(247, 94%, 71%), hsl(247, 94%, 51%))
hex
background-color: #8070FB;
tailwind
bg-[hsl(247,94%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 94%, 71%, 0.4);
css variable
--color-primary: hsl(247, 94%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 94%, 71%)?
HEX: #8070FB | RGB: rgb(128, 112, 251) | CMYK: 49%, 55%, 0%, 2% | HSV: 247°, 55%, 98%. Copy any format from the conversion table above.
What colors go well with #8070FB?
The complementary color is HSL(67, 94%, 71%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 94%, 71%) in CSS?
As HSL: color: hsl(247, 94%, 71%); — As HEX: color: #8070FB; — As RGB: color: rgb(128, 112, 251); — Tailwind CSS: bg-[hsl(247,94%,71%)] — CSS variable: --color-primary: hsl(247, 94%, 71%);