#620afd
a balanced, electric violet · warm · closest name: blue
RGB
98, 10, 253
HSL
262°, 98%, 52%
CMYK
61, 96, 0, 1
Luminance
0.0991
Every format
| HEX | #620afd |
| RGB | rgb(98, 10, 253) |
| HSL | hsl(262, 98%, 52%) |
| CMYK | cmyk(61%, 96%, 0%, 1%) |
| LAB | lab(37.7 79.7 -97.6) |
| LCH | lch(37.7 126.0 309.2) |
| OKLCH | oklch(0.500 0.290 284.2) |
Copy-ready code
/* CSS */
color: #620afd;
background-color: #620afd;
/* Tailwind (arbitrary) */
class="text-[#620afd] bg-[#620afd]"
/* SCSS */
$brand: #620afd;
/* SwiftUI */
Color(red: 0.384, green: 0.039, blue: 0.992)
/* Android */
Color.parseColor("#620afd")Accessibility — WCAG contrast
Aa
#620afd on white: 7.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#620afd on black: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red38.4%
Green3.9%
Blue99.2%
CMYK percentages
Cyan61.3%
Magenta96.0%
Yellow0.0%
Key (black)0.8%
Color previews
#620afd text on a black background
contrast 2.98:1
Card sample
#620afd text on a white background
contrast 7.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #620afd;
Background color
Panel with #620afd background
background-color: #620afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #620afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(98, 10, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(98, 10, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #620afd; background: linear-gradient(135deg, #620afd, #FD0AF6);