HSL(254, 72%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(254,72%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(254, 72%, 76%) | color: hsl(254, 72%, 76%) | |
| HEX | #AA96EE | color: #AA96EE | |
| RGB | rgb(170, 150, 238) | color: rgb(170, 150, 238) | |
| CMYK | cmyk(29%, 37%, 0%, 7%) | — | |
| HSV | hsv(254, 37%, 93%) | — | |
| HWB | hwb(254 59% 7%) | color: hwb(254 59% 7%) | |
| OKLCH | oklch(0.7251 0.1266 293.43) | color: oklch(0.7251 0.1266 293.43) | |
| Lab | lab(66.92 26.15 -41.66) | color: lab(66.92 26.15 -41.66) | |
| LCH | lch(66.92 49.19 302.12) | color: lch(66.92 49.19 302.12) |
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)
#A1A1D9 — rgb(161, 161, 217)
Deuteranopia (Green-blind)
#A3A4D4 — rgb(163, 164, 212)
Tritanopia (Blue-blind)
#A9C8C4 — rgb(169, 200, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(254, 72%, 76%);
text
color: hsl(254, 72%, 76%);
border
border: 2px solid hsl(254, 72%, 76%);
gradient light
background: linear-gradient(to right, hsl(254, 72%, 96%), hsl(254, 72%, 76%));
gradient dark
background: linear-gradient(to right, hsl(254, 72%, 76%), hsl(254, 72%, 56%))
hex
background-color: #AA96EE;
tailwind
bg-[hsl(254,72%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(254, 72%, 76%, 0.4);
css variable
--color-primary: hsl(254, 72%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(254, 72%, 76%)?
HEX: #AA96EE | RGB: rgb(170, 150, 238) | CMYK: 29%, 37%, 0%, 7% | HSV: 254°, 37%, 93%. Copy any format from the conversion table above.
What colors go well with #AA96EE?
The complementary color is HSL(74, 72%, 76%). 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, 72%, 76%) in CSS?
As HSL: color: hsl(254, 72%, 76%); — As HEX: color: #AA96EE; — As RGB: color: rgb(170, 150, 238); — Tailwind CSS: bg-[hsl(254,72%,76%)] — CSS variable: --color-primary: hsl(254, 72%, 76%);