HSL(252, 90%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,90%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 90%, 72%) | color: hsl(252, 90%, 72%) | |
| HEX | #9177F8 | color: #9177F8 | |
| RGB | rgb(145, 119, 248) | color: rgb(145, 119, 248) | |
| CMYK | cmyk(42%, 52%, 0%, 3%) | — | |
| HSV | hsv(252, 52%, 97%) | — | |
| HWB | hwb(252 47% 3%) | color: hwb(252 47% 3%) | |
| OKLCH | oklch(0.6546 0.1851 289.56) | color: oklch(0.6546 0.1851 289.56) | |
| Lab | lab(58.03 40.02 -61.41) | color: lab(58.03 40.02 -61.41) | |
| LCH | lch(58.03 73.3 303.09) | color: lch(58.03 73.3 303.09) |
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)
#8686D9 — rgb(134, 134, 217)
Deuteranopia (Green-blind)
#8789D1 — rgb(135, 137, 209)
Tritanopia (Blue-blind)
#90C0BB — rgb(144, 192, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 90%, 72%);
text
color: hsl(252, 90%, 72%);
border
border: 2px solid hsl(252, 90%, 72%);
gradient light
background: linear-gradient(to right, hsl(252, 90%, 92%), hsl(252, 90%, 72%));
gradient dark
background: linear-gradient(to right, hsl(252, 90%, 72%), hsl(252, 90%, 52%))
hex
background-color: #9177F8;
tailwind
bg-[hsl(252,90%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 90%, 72%, 0.4);
css variable
--color-primary: hsl(252, 90%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 90%, 72%)?
HEX: #9177F8 | RGB: rgb(145, 119, 248) | CMYK: 42%, 52%, 0%, 3% | HSV: 252°, 52%, 97%. Copy any format from the conversion table above.
What colors go well with #9177F8?
The complementary color is HSL(72, 90%, 72%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 90%, 72%) in CSS?
As HSL: color: hsl(252, 90%, 72%); — As HEX: color: #9177F8; — As RGB: color: rgb(145, 119, 248); — Tailwind CSS: bg-[hsl(252,90%,72%)] — CSS variable: --color-primary: hsl(252, 90%, 72%);