HSL(251, 94%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,94%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 94%, 78%) | color: hsl(251, 94%, 78%) | |
| HEX | #A692FC | color: #A692FC | |
| RGB | rgb(166, 146, 252) | color: rgb(166, 146, 252) | |
| CMYK | cmyk(34%, 42%, 0%, 1%) | — | |
| HSV | hsv(251, 42%, 99%) | — | |
| HWB | hwb(251 57% 1%) | color: hwb(251 57% 1%) | |
| OKLCH | oklch(0.7216 0.1514 290.77) | color: oklch(0.7216 0.1514 290.77) | |
| Lab | lab(66.28 30.86 -50.36) | color: lab(66.28 30.86 -50.36) | |
| LCH | lch(66.28 59.06 301.5) | color: lch(66.28 59.06 301.5) |
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)
#9D9DE2 — rgb(157, 157, 226)
Deuteranopia (Green-blind)
#9FA0DC — rgb(159, 160, 220)
Tritanopia (Blue-blind)
#A5CECA — rgb(165, 206, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 94%, 78%);
text
color: hsl(251, 94%, 78%);
border
border: 2px solid hsl(251, 94%, 78%);
gradient light
background: linear-gradient(to right, hsl(251, 94%, 98%), hsl(251, 94%, 78%));
gradient dark
background: linear-gradient(to right, hsl(251, 94%, 78%), hsl(251, 94%, 58%))
hex
background-color: #A692FC;
tailwind
bg-[hsl(251,94%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 94%, 78%, 0.4);
css variable
--color-primary: hsl(251, 94%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 94%, 78%)?
HEX: #A692FC | RGB: rgb(166, 146, 252) | CMYK: 34%, 42%, 0%, 1% | HSV: 251°, 42%, 99%. Copy any format from the conversion table above.
What colors go well with #A692FC?
The complementary color is HSL(71, 94%, 78%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 94%, 78%) in CSS?
As HSL: color: hsl(251, 94%, 78%); — As HEX: color: #A692FC; — As RGB: color: rgb(166, 146, 252); — Tailwind CSS: bg-[hsl(251,94%,78%)] — CSS variable: --color-primary: hsl(251, 94%, 78%);