HSL(246, 99%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,99%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 99%, 85%) | color: hsl(246, 99%, 85%) | |
| HEX | #BAB3FF | color: #BAB3FF | |
| RGB | rgb(186, 179, 255) | color: rgb(186, 179, 255) | |
| CMYK | cmyk(27%, 30%, 0%, 0%) | — | |
| HSV | hsv(246, 30%, 100%) | — | |
| HWB | hwb(246 70% 0%) | color: hwb(246 70% 0%) | |
| OKLCH | oklch(0.8003 0.1067 287.95) | color: oklch(0.8003 0.1067 287.95) | |
| Lab | lab(76.01 18.59 -36.65) | color: lab(76.01 18.59 -36.65) | |
| LCH | lch(76.01 41.1 296.9) | color: lch(76.01 41.1 296.9) |
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)
#B7B7ED — rgb(183, 183, 237)
Deuteranopia (Green-blind)
#B7B8E8 — rgb(183, 184, 232)
Tritanopia (Blue-blind)
#BADEDB — rgb(186, 222, 219)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 99%, 85%);
text
color: hsl(246, 99%, 85%);
border
border: 2px solid hsl(246, 99%, 85%);
gradient light
background: linear-gradient(to right, hsl(246, 99%, 100%), hsl(246, 99%, 85%));
gradient dark
background: linear-gradient(to right, hsl(246, 99%, 85%), hsl(246, 99%, 65%))
hex
background-color: #BAB3FF;
tailwind
bg-[hsl(246,99%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 99%, 85%, 0.4);
css variable
--color-primary: hsl(246, 99%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 99%, 85%)?
HEX: #BAB3FF | RGB: rgb(186, 179, 255) | CMYK: 27%, 30%, 0%, 0% | HSV: 246°, 30%, 100%. Copy any format from the conversion table above.
What colors go well with #BAB3FF?
The complementary color is HSL(66, 99%, 85%). 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, 99%, 85%) in CSS?
As HSL: color: hsl(246, 99%, 85%); — As HEX: color: #BAB3FF; — As RGB: color: rgb(186, 179, 255); — Tailwind CSS: bg-[hsl(246,99%,85%)] — CSS variable: --color-primary: hsl(246, 99%, 85%);