HSL(251, 72%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,72%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 72%, 76%) | color: hsl(251, 72%, 76%) | |
| HEX | #A696EE | color: #A696EE | |
| RGB | rgb(166, 150, 238) | color: rgb(166, 150, 238) | |
| CMYK | cmyk(30%, 37%, 0%, 7%) | — | |
| HSV | hsv(251, 37%, 93%) | — | |
| HWB | hwb(251 59% 7%) | color: hwb(251 59% 7%) | |
| OKLCH | oklch(0.7218 0.1264 291.24) | color: oklch(0.7218 0.1264 291.24) | |
| Lab | lab(66.59 25.03 -42.21) | color: lab(66.59 25.03 -42.21) | |
| LCH | lch(66.59 49.07 300.67) | color: lch(66.59 49.07 300.67) |
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)
#9F9FD9 — rgb(159, 159, 217)
Deuteranopia (Green-blind)
#A0A1D4 — rgb(160, 161, 212)
Tritanopia (Blue-blind)
#A5C8C4 — rgb(165, 200, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 72%, 76%);
text
color: hsl(251, 72%, 76%);
border
border: 2px solid hsl(251, 72%, 76%);
gradient light
background: linear-gradient(to right, hsl(251, 72%, 96%), hsl(251, 72%, 76%));
gradient dark
background: linear-gradient(to right, hsl(251, 72%, 76%), hsl(251, 72%, 56%))
hex
background-color: #A696EE;
tailwind
bg-[hsl(251,72%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 72%, 76%, 0.4);
css variable
--color-primary: hsl(251, 72%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 72%, 76%)?
HEX: #A696EE | RGB: rgb(166, 150, 238) | CMYK: 30%, 37%, 0%, 7% | HSV: 251°, 37%, 93%. Copy any format from the conversion table above.
What colors go well with #A696EE?
The complementary color is HSL(71, 72%, 76%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 72%, 76%) in CSS?
As HSL: color: hsl(251, 72%, 76%); — As HEX: color: #A696EE; — As RGB: color: rgb(166, 150, 238); — Tailwind CSS: bg-[hsl(251,72%,76%)] — CSS variable: --color-primary: hsl(251, 72%, 76%);