Violet
#9a0eea
Violet is a color with the hex code #9a0eea. Below you'll find its exact RGB, HSL, CMYK, and OKLCH values, ready to copy into any design tool.
Color values
| HEX | #9a0eea | |
|---|---|---|
| RGB | rgb(154, 14, 234) | |
| HSL | hsl(278, 89%, 49%) | |
| CMYK | cmyk(34%, 94%, 0%, 8%) | |
| LAB | lab(42, 73, -79) | |
| OKLCH | oklch(0.55 0.276 306) |
Color harmonies
Tints & shades
Code snippets
color: #9a0eea;
background-color: #9a0eea;
/* Tailwind CSS (closest default swatch, not an exact match) */
bg-purple-500 /* ≈ #ad46ff */
/* Flutter */
Color(0xFF9A0EEA)
/* Swift / UIKit */
UIColor(red: 0.60, green: 0.05, blue: 0.92, alpha: 1.0)