HSL(252, 71%, 83%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,71%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 71%, 83%) | color: hsl(252, 71%, 83%) | |
| HEX | #C1B5F2 | color: #C1B5F2 | |
| RGB | rgb(193, 181, 242) | color: rgb(193, 181, 242) | |
| CMYK | cmyk(20%, 25%, 0%, 5%) | — | |
| HSV | hsv(252, 25%, 95%) | — | |
| HWB | hwb(252 71% 5%) | color: hwb(252 71% 5%) | |
| OKLCH | oklch(0.8042 0.086 293.39) | color: oklch(0.8042 0.086 293.39) | |
| Lab | lab(76.55 16.55 -28.76) | color: lab(76.55 16.55 -28.76) | |
| LCH | lch(76.55 33.18 299.92) | color: lch(76.55 33.18 299.92) |
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)
#BCBCE3 — rgb(188, 188, 227)
Deuteranopia (Green-blind)
#BDBDE0 — rgb(189, 189, 224)
Tritanopia (Blue-blind)
#C0D8D5 — rgb(192, 216, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 71%, 83%);
text
color: hsl(252, 71%, 83%);
border
border: 2px solid hsl(252, 71%, 83%);
gradient light
background: linear-gradient(to right, hsl(252, 71%, 100%), hsl(252, 71%, 83%));
gradient dark
background: linear-gradient(to right, hsl(252, 71%, 83%), hsl(252, 71%, 63%))
hex
background-color: #C1B5F2;
tailwind
bg-[hsl(252,71%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 71%, 83%, 0.4);
css variable
--color-primary: hsl(252, 71%, 83%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 71%, 83%)?
HEX: #C1B5F2 | RGB: rgb(193, 181, 242) | CMYK: 20%, 25%, 0%, 5% | HSV: 252°, 25%, 95%. Copy any format from the conversion table above.
What colors go well with #C1B5F2?
The complementary color is HSL(72, 71%, 83%). 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, 71%, 83%) in CSS?
As HSL: color: hsl(252, 71%, 83%); — As HEX: color: #C1B5F2; — As RGB: color: rgb(193, 181, 242); — Tailwind CSS: bg-[hsl(252,71%,83%)] — CSS variable: --color-primary: hsl(252, 71%, 83%);