HSL(254, 96%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(254,96%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(254, 96%, 79%) | color: hsl(254, 96%, 79%) | |
| HEX | #AE96FD | color: #AE96FD | |
| RGB | rgb(174, 150, 253) | color: rgb(174, 150, 253) | |
| CMYK | cmyk(31%, 41%, 0%, 1%) | — | |
| HSV | hsv(254, 41%, 99%) | — | |
| HWB | hwb(254 58% 1%) | color: hwb(254 58% 1%) | |
| OKLCH | oklch(0.736 0.147 293.16) | color: oklch(0.736 0.147 293.16) | |
| Lab | lab(67.95 30.96 -48.23) | color: lab(67.95 30.96 -48.23) | |
| LCH | lch(67.95 57.31 302.7) | color: lch(67.95 57.31 302.7) |
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)
#A4A3E4 — rgb(164, 163, 228)
Deuteranopia (Green-blind)
#A5A7DE — rgb(165, 167, 222)
Tritanopia (Blue-blind)
#ADD0CC — rgb(173, 208, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(254, 96%, 79%);
text
color: hsl(254, 96%, 79%);
border
border: 2px solid hsl(254, 96%, 79%);
gradient light
background: linear-gradient(to right, hsl(254, 96%, 99%), hsl(254, 96%, 79%));
gradient dark
background: linear-gradient(to right, hsl(254, 96%, 79%), hsl(254, 96%, 59%))
hex
background-color: #AE96FD;
tailwind
bg-[hsl(254,96%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(254, 96%, 79%, 0.4);
css variable
--color-primary: hsl(254, 96%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(254, 96%, 79%)?
HEX: #AE96FD | RGB: rgb(174, 150, 253) | CMYK: 31%, 41%, 0%, 1% | HSV: 254°, 41%, 99%. Copy any format from the conversion table above.
What colors go well with #AE96FD?
The complementary color is HSL(74, 96%, 79%). For a triadic harmony, use hues 254°, 14°, and 134°. For analogous combinations, try hues 224° and 284°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(254, 96%, 79%) in CSS?
As HSL: color: hsl(254, 96%, 79%); — As HEX: color: #AE96FD; — As RGB: color: rgb(174, 150, 253); — Tailwind CSS: bg-[hsl(254,96%,79%)] — CSS variable: --color-primary: hsl(254, 96%, 79%);