Purple
#840BD5
PurpleColor Codes
All color formats for development
HEX
#840BD5RGB
rgb(132, 11, 213)HSL
hsl(276, 90%, 44%)OKLCH
oklch(0.498 0.256 303.5)CMYK
cmyk(38%, 95%, 0%, 16%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#770AC0
2#6A09AB
3#5D0895
4#4F0780
5#42066B
6#350455
7#280340
8#1A022B
9#0D0115
Tints
Lighter variations
1#950DF0
2#A126F4
3#AD41F5
4#B95CF6
5#C477F8
6#D092F9
7#DCAEFB
8#E8C9FC
9#F3E4FE
Tones
Muted variations
1#8215CB
2#801FC1
3#7E2AB7
4#7C34AD
5#7A3EA3
6#784899
7#76528E
8#745C84
9#72667A
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F9F0 #F9F0FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | F0DD #F0DDFD | Light backgroundsTable row hoverSkeleton loading |
| 200 | E4C0 #E4C0FC | Secondary backgroundsInput backgroundsDividers |
| 300 | CF90 #CF90F9 | BordersInactive statesPlaceholder text |
| 400 | B655 #B655F6 | Disabled statesSecondary iconsMuted text |
| 500 | A125 #A125F4 | Primary brand colorCTAsActive elementsLinks |
| 600 | 840B #840BD5 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 6909 #6909AA | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4B06 #4B0679 | Text on light backgroundsHeadingsStrong borders |
| 900 | 3004 #30044E | Primary textHigh emphasis contentDark headings |
| 950 | 1E03 #1E0330 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--purple-50: #F9F0FE;
--purple-100: #F0DDFD;
--purple-200: #E4C0FC;
--purple-300: #CF90F9;
--purple-400: #B655F6;
--purple-500: #A125F4;
--purple-600: #840BD5;
--purple-700: #6909AA;
--purple-800: #4B0679;
--purple-900: #30044E;
--purple-950: #1E0330;
}