HSL(254, 65%, 67%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(254,65%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(254, 65%, 67%) | color: hsl(254, 65%, 67%) | |
| HEX | #8E74E2 | color: #8E74E2 | |
| RGB | rgb(142, 116, 226) | color: rgb(142, 116, 226) | |
| CMYK | cmyk(37%, 49%, 0%, 11%) | — | |
| HSV | hsv(254, 49%, 89%) | — | |
| HWB | hwb(254 45% 11%) | color: hwb(254 45% 11%) | |
| OKLCH | oklch(0.6334 0.1608 292.05) | color: oklch(0.6334 0.1608 292.05) | |
| Lab | lab(55.82 35.07 -52.71) | color: lab(55.82 35.07 -52.71) | |
| LCH | lch(55.82 63.31 303.64) | color: lch(55.82 63.31 303.64) |
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)
#8383C7 — rgb(131, 131, 199)
Deuteranopia (Green-blind)
#8486C1 — rgb(132, 134, 193)
Tritanopia (Blue-blind)
#8DB2AE — rgb(141, 178, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(254, 65%, 67%);
text
color: hsl(254, 65%, 67%);
border
border: 2px solid hsl(254, 65%, 67%);
gradient light
background: linear-gradient(to right, hsl(254, 65%, 87%), hsl(254, 65%, 67%));
gradient dark
background: linear-gradient(to right, hsl(254, 65%, 67%), hsl(254, 65%, 47%))
hex
background-color: #8E74E2;
tailwind
bg-[hsl(254,65%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(254, 65%, 67%, 0.4);
css variable
--color-primary: hsl(254, 65%, 67%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(254, 65%, 67%)?
HEX: #8E74E2 | RGB: rgb(142, 116, 226) | CMYK: 37%, 49%, 0%, 11% | HSV: 254°, 49%, 89%. Copy any format from the conversion table above.
What colors go well with #8E74E2?
The complementary color is HSL(74, 65%, 67%). 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, 65%, 67%) in CSS?
As HSL: color: hsl(254, 65%, 67%); — As HEX: color: #8E74E2; — As RGB: color: rgb(142, 116, 226); — Tailwind CSS: bg-[hsl(254,65%,67%)] — CSS variable: --color-primary: hsl(254, 65%, 67%);