HSL(252, 77%, 69%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,77%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 77%, 69%) | color: hsl(252, 77%, 69%) | |
| HEX | #8B73ED | color: #8B73ED | |
| RGB | rgb(139, 115, 237) | color: rgb(139, 115, 237) | |
| CMYK | cmyk(41%, 51%, 0%, 7%) | — | |
| HSV | hsv(252, 51%, 93%) | — | |
| HWB | hwb(252 46% 7%) | color: hwb(252 46% 7%) | |
| OKLCH | oklch(0.6358 0.1766 289.45) | color: oklch(0.6358 0.1766 289.45) | |
| Lab | lab(55.95 37.92 -58.66) | color: lab(55.95 37.92 -58.66) | |
| LCH | lch(55.95 69.85 302.88) | color: lch(55.95 69.85 302.88) |
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)
#8180CF — rgb(129, 128, 207)
Deuteranopia (Green-blind)
#8284C8 — rgb(130, 132, 200)
Tritanopia (Blue-blind)
#8AB8B3 — rgb(138, 184, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 77%, 69%);
text
color: hsl(252, 77%, 69%);
border
border: 2px solid hsl(252, 77%, 69%);
gradient light
background: linear-gradient(to right, hsl(252, 77%, 89%), hsl(252, 77%, 69%));
gradient dark
background: linear-gradient(to right, hsl(252, 77%, 69%), hsl(252, 77%, 49%))
hex
background-color: #8B73ED;
tailwind
bg-[hsl(252,77%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 77%, 69%, 0.4);
css variable
--color-primary: hsl(252, 77%, 69%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 77%, 69%)?
HEX: #8B73ED | RGB: rgb(139, 115, 237) | CMYK: 41%, 51%, 0%, 7% | HSV: 252°, 51%, 93%. Copy any format from the conversion table above.
What colors go well with #8B73ED?
The complementary color is HSL(72, 77%, 69%). 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, 77%, 69%) in CSS?
As HSL: color: hsl(252, 77%, 69%); — As HEX: color: #8B73ED; — As RGB: color: rgb(139, 115, 237); — Tailwind CSS: bg-[hsl(252,77%,69%)] — CSS variable: --color-primary: hsl(252, 77%, 69%);