Purple

#840DD3

Purple

Color Codes

All color formats for development

HEX
#840DD3
RGB
rgb(132, 13, 211)
HSL
hsl(276, 88%, 44%)
OKLCH
oklch(0.497 0.253 303.9)
CMYK
cmyk(37%, 94%, 0%, 17%)

Accessibility

WCAG contrast compliance

On White Background

7.05:1

AA AAA

On Black Background

2.98:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F1
100
#F0DD
200
#E4C1
300
#CF91
400
#B557
500
#A027
600
#840D
700
#690B
800
#4B08
900
#3005
950
#1E03

Shades

Darker variations

1#770CBE
2#6A0BA9
3#5C0994
4#4F087F
5#420769
6#350554
7#28043F
8#1A032A
9#0D0115

Tints

Lighter variations

1#950FEE
2#A128F1
3#AD43F3
4#B85EF5
5#C479F6
6#D094F8
7#DCAEFA
8#E7C9FC
9#F3E4FD

Tones

Muted variations

1#8217C9
2#8021BF
3#7E2BB5
4#7C35AB
5#7A3FA2
6#784998
7#76538E
8#745C84
9#72667A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F1
#F9F1FE
BackgroundsSubtle highlightsCard backgrounds
100
F0DD
#F0DDFD
Light backgroundsTable row hoverSkeleton loading
200
E4C1
#E4C1FB
Secondary backgroundsInput backgroundsDividers
300
CF91
#CF91F8
BordersInactive statesPlaceholder text
400
B557
#B557F4
Disabled statesSecondary iconsMuted text
500
A027
#A027F1
Primary brand colorCTAsActive elementsLinks
600
840D
#840DD3
Hover statesFocus ringsPrimary buttons hover
700
690B
#690BA8
Active/pressed statesDark mode accentsSecondary text
800
4B08
#4B0878
Text on light backgroundsHeadingsStrong borders
900
3005
#30054D
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: #F9F1FE;
  --purple-100: #F0DDFD;
  --purple-200: #E4C1FB;
  --purple-300: #CF91F8;
  --purple-400: #B557F4;
  --purple-500: #A027F1;
  --purple-600: #840DD3;
  --purple-700: #690BA8;
  --purple-800: #4B0878;
  --purple-900: #30054D;
  --purple-950: #1E0330;
}
Generate More ShadesCreate PaletteConvert Color