Magenta

#9E20F8

Purple

Color Codes

All color formats for development

HEX
#9E20F8
RGB
rgb(158, 32, 248)
HSL
hsl(275, 94%, 55%)
OKLCH
oklch(0.57 0.28 304.1)
CMYK
cmyk(36%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

5.23:1

AA AAA

On Black Background

4.02:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F0DC
200
#E3BF
300
#CE8D
400
#B452
500
#9E20
600
#8207
700
#6705
800
#4A04
900
#2F02
950
#1D02

Shades

Darker variations

1#9208F5
2#8207DA
3#7206BE
4#6105A3
5#510488
6#41036D
7#310352
8#200236
9#10011B

Tints

Lighter variations

1#A837F9
2#B24DF9
3#BB63FA
4#C579FB
5#CF90FC
6#D8A6FC
7#E2BCFD
8#ECD2FE
9#F5E9FE

Tones

Muted variations

1#9C2BED
2#9B36E3
3#9941D8
4#974CCD
5#9556C2
6#9361B7
7#926CAD
8#9077A2
9#8E8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F0
#F9F0FF
BackgroundsSubtle highlightsCard backgrounds
100
F0DC
#F0DCFE
Light backgroundsTable row hoverSkeleton loading
200
E3BF
#E3BFFD
Secondary backgroundsInput backgroundsDividers
300
CE8D
#CE8DFB
BordersInactive statesPlaceholder text
400
B452
#B452FA
Disabled statesSecondary iconsMuted text
500
9E20
#9E20F8
Primary brand colorCTAsActive elementsLinks
600
8207
#8207DA
Hover statesFocus ringsPrimary buttons hover
700
6705
#6705AD
Active/pressed statesDark mode accentsSecondary text
800
4A04
#4A047C
Text on light backgroundsHeadingsStrong borders
900
2F02
#2F024F
Primary textHigh emphasis contentDark headings
950
1D02
#1D0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F9F0FF;
  --magenta-100: #F0DCFE;
  --magenta-200: #E3BFFD;
  --magenta-300: #CE8DFB;
  --magenta-400: #B452FA;
  --magenta-500: #9E20F8;
  --magenta-600: #8207DA;
  --magenta-700: #6705AD;
  --magenta-800: #4A047C;
  --magenta-900: #2F024F;
  --magenta-950: #1D0231;
}
Generate More ShadesCreate PaletteConvert Color