HSL(246, 71%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,71%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 71%, 79%) | color: hsl(246, 71%, 79%) | |
| HEX | #ABA3EF | color: #ABA3EF | |
| RGB | rgb(171, 163, 239) | color: rgb(171, 163, 239) | |
| CMYK | cmyk(28%, 32%, 0%, 6%) | — | |
| HSV | hsv(246, 32%, 94%) | — | |
| HWB | hwb(246 64% 6%) | color: hwb(246 64% 6%) | |
| OKLCH | oklch(0.7508 0.1084 288.32) | color: oklch(0.7508 0.1084 288.32) | |
| Lab | lab(70.23 19.34 -37.04) | color: lab(70.23 19.34 -37.04) | |
| LCH | lch(70.23 41.79 297.57) | color: lch(70.23 41.79 297.57) |
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)
#A8A7DD — rgb(168, 167, 221)
Deuteranopia (Green-blind)
#A8A9D8 — rgb(168, 169, 216)
Tritanopia (Blue-blind)
#ABCECB — rgb(171, 206, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 71%, 79%);
text
color: hsl(246, 71%, 79%);
border
border: 2px solid hsl(246, 71%, 79%);
gradient light
background: linear-gradient(to right, hsl(246, 71%, 99%), hsl(246, 71%, 79%));
gradient dark
background: linear-gradient(to right, hsl(246, 71%, 79%), hsl(246, 71%, 59%))
hex
background-color: #ABA3EF;
tailwind
bg-[hsl(246,71%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 71%, 79%, 0.4);
css variable
--color-primary: hsl(246, 71%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 71%, 79%)?
HEX: #ABA3EF | RGB: rgb(171, 163, 239) | CMYK: 28%, 32%, 0%, 6% | HSV: 246°, 32%, 94%. Copy any format from the conversion table above.
What colors go well with #ABA3EF?
The complementary color is HSL(66, 71%, 79%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 71%, 79%) in CSS?
As HSL: color: hsl(246, 71%, 79%); — As HEX: color: #ABA3EF; — As RGB: color: rgb(171, 163, 239); — Tailwind CSS: bg-[hsl(246,71%,79%)] — CSS variable: --color-primary: hsl(246, 71%, 79%);