HSL(252, 30%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,30%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 30%, 71%) | color: hsl(252, 30%, 71%) | |
| HEX | #A89FCB | color: #A89FCB | |
| RGB | rgb(168, 159, 203) | color: rgb(168, 159, 203) | |
| CMYK | cmyk(17%, 22%, 0%, 20%) | — | |
| HSV | hsv(252, 22%, 80%) | — | |
| HWB | hwb(252 62% 20%) | color: hwb(252 62% 20%) | |
| OKLCH | oklch(0.7253 0.0638 294.13) | color: oklch(0.7253 0.0638 294.13) | |
| Lab | lab(67.6 12.22 -21.31) | color: lab(67.6 12.22 -21.31) | |
| LCH | lch(67.6 24.57 299.83) | color: lch(67.6 24.57 299.83) |
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)
#A4A4C0 — rgb(164, 164, 192)
Deuteranopia (Green-blind)
#A5A5BE — rgb(165, 165, 190)
Tritanopia (Blue-blind)
#A8B8B6 — rgb(168, 184, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 30%, 71%);
text
color: hsl(252, 30%, 71%);
border
border: 2px solid hsl(252, 30%, 71%);
gradient light
background: linear-gradient(to right, hsl(252, 30%, 91%), hsl(252, 30%, 71%));
gradient dark
background: linear-gradient(to right, hsl(252, 30%, 71%), hsl(252, 30%, 51%))
hex
background-color: #A89FCB;
tailwind
bg-[hsl(252,30%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 30%, 71%, 0.4);
css variable
--color-primary: hsl(252, 30%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 30%, 71%)?
HEX: #A89FCB | RGB: rgb(168, 159, 203) | CMYK: 17%, 22%, 0%, 20% | HSV: 252°, 22%, 80%. Copy any format from the conversion table above.
What colors go well with #A89FCB?
The complementary color is HSL(72, 30%, 71%). 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, 30%, 71%) in CSS?
As HSL: color: hsl(252, 30%, 71%); — As HEX: color: #A89FCB; — As RGB: color: rgb(168, 159, 203); — Tailwind CSS: bg-[hsl(252,30%,71%)] — CSS variable: --color-primary: hsl(252, 30%, 71%);