HSL(252, 75%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,75%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 75%, 75%) | color: hsl(252, 75%, 75%) | |
| HEX | #A38FEF | color: #A38FEF | |
| RGB | rgb(163, 143, 239) | color: rgb(163, 143, 239) | |
| CMYK | cmyk(32%, 40%, 0%, 6%) | — | |
| HSV | hsv(253, 40%, 94%) | — | |
| HWB | hwb(253 56% 6%) | color: hwb(253 56% 6%) | |
| OKLCH | oklch(0.7069 0.1383 292.05) | color: oklch(0.7069 0.1383 292.05) | |
| Lab | lab(64.69 28.44 -45.75) | color: lab(64.69 28.44 -45.75) | |
| LCH | lch(64.69 53.87 301.87) | color: lch(64.69 53.87 301.87) |
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)
#9A9AD8 — rgb(154, 154, 216)
Deuteranopia (Green-blind)
#9C9DD2 — rgb(156, 157, 210)
Tritanopia (Blue-blind)
#A2C5C1 — rgb(162, 197, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 75%, 75%);
text
color: hsl(252, 75%, 75%);
border
border: 2px solid hsl(252, 75%, 75%);
gradient light
background: linear-gradient(to right, hsl(252, 75%, 95%), hsl(252, 75%, 75%));
gradient dark
background: linear-gradient(to right, hsl(252, 75%, 75%), hsl(252, 75%, 55%))
hex
background-color: #A38FEF;
tailwind
bg-[hsl(252,75%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 75%, 75%, 0.4);
css variable
--color-primary: hsl(252, 75%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 75%, 75%)?
HEX: #A38FEF | RGB: rgb(163, 143, 239) | CMYK: 32%, 40%, 0%, 6% | HSV: 253°, 40%, 94%. Copy any format from the conversion table above.
What colors go well with #A38FEF?
The complementary color is HSL(72, 75%, 75%). 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, 75%, 75%) in CSS?
As HSL: color: hsl(252, 75%, 75%); — As HEX: color: #A38FEF; — As RGB: color: rgb(163, 143, 239); — Tailwind CSS: bg-[hsl(252,75%,75%)] — CSS variable: --color-primary: hsl(252, 75%, 75%);