#7f55ff
a light, electric blue · warm · closest name: slateblue
RGB
127, 85, 255
HSL
255°, 100%, 67%
CMYK
50, 67, 0, 0
Luminance
0.1823
Every format
| HEX | #7f55ff |
| RGB | rgb(127, 85, 255) |
| HSL | hsl(255, 100%, 67%) |
| CMYK | cmyk(50%, 67%, 0%, 0%) |
| LAB | lab(49.8 57.1 -78.7) |
| LCH | lch(49.8 97.3 306.0) |
| OKLCH | oklch(0.592 0.238 288.2) |
Copy-ready code
/* CSS */
color: #7f55ff;
background-color: #7f55ff;
/* Tailwind (arbitrary) */
class="text-[#7f55ff] bg-[#7f55ff]"
/* SCSS */
$brand: #7f55ff;
/* SwiftUI */
Color(red: 0.498, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#7f55ff")Accessibility — WCAG contrast
Aa
#7f55ff on white: 4.52:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7f55ff on black: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red49.8%
Green33.3%
Blue100.0%
CMYK percentages
Cyan50.2%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#7f55ff text on a black background
contrast 4.65:1
Card sample
#7f55ff text on a white background
contrast 4.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7f55ff;
Background color
Panel with #7f55ff background
background-color: #7f55ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7f55ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(127, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f55ff; background: linear-gradient(135deg, #7f55ff, #F055FF);