HSL(251, 85%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,85%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 85%, 75%) | color: hsl(251, 85%, 75%) | |
| HEX | #9D89F5 | color: #9D89F5 | |
| RGB | rgb(157, 137, 245) | color: rgb(157, 137, 245) | |
| CMYK | cmyk(36%, 44%, 0%, 4%) | — | |
| HSV | hsv(251, 44%, 96%) | — | |
| HWB | hwb(251 54% 4%) | color: hwb(251 54% 4%) | |
| OKLCH | oklch(0.6942 0.1552 290.27) | color: oklch(0.6942 0.1552 290.27) | |
| Lab | lab(63.05 31.83 -51.68) | color: lab(63.05 31.83 -51.68) | |
| LCH | lch(63.05 60.7 301.63) | color: lch(63.05 60.7 301.63) |
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)
#9494DB — rgb(148, 148, 219)
Deuteranopia (Green-blind)
#9697D5 — rgb(150, 151, 213)
Tritanopia (Blue-blind)
#9CC6C2 — rgb(156, 198, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 85%, 75%);
text
color: hsl(251, 85%, 75%);
border
border: 2px solid hsl(251, 85%, 75%);
gradient light
background: linear-gradient(to right, hsl(251, 85%, 95%), hsl(251, 85%, 75%));
gradient dark
background: linear-gradient(to right, hsl(251, 85%, 75%), hsl(251, 85%, 55%))
hex
background-color: #9D89F5;
tailwind
bg-[hsl(251,85%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 85%, 75%, 0.4);
css variable
--color-primary: hsl(251, 85%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 85%, 75%)?
HEX: #9D89F5 | RGB: rgb(157, 137, 245) | CMYK: 36%, 44%, 0%, 4% | HSV: 251°, 44%, 96%. Copy any format from the conversion table above.
What colors go well with #9D89F5?
The complementary color is HSL(71, 85%, 75%). 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, 85%, 75%) in CSS?
As HSL: color: hsl(251, 85%, 75%); — As HEX: color: #9D89F5; — As RGB: color: rgb(157, 137, 245); — Tailwind CSS: bg-[hsl(251,85%,75%)] — CSS variable: --color-primary: hsl(251, 85%, 75%);