Magenta

#9B20F8

Purple

Color Codes

All color formats for development

HEX
#9B20F8
RGB
rgb(155, 32, 248)
HSL
hsl(274, 94%, 55%)
OKLCH
oklch(0.566 0.28 303.2)
CMYK
cmyk(38%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

5.31:1

AA AAA

On Black Background

3.96:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F8F0
100
#EFDC
200
#E2BF
300
#CC8D
400
#B152
500
#9B20
600
#7E07
700
#6405
800
#4804
900
#2E02
950
#1D02

Shades

Darker variations

1#8E08F5
2#7E07DA
3#6E06BE
4#5F05A3
5#4F0488
6#3F036D
7#2F0352
8#200236
9#10011B

Tints

Lighter variations

1#A537F9
2#AF4DF9
3#B963FA
4#C379FB
5#CD90FC
6#D7A6FC
7#E1BCFD
8#EBD2FE
9#F5E9FE

Tones

Muted variations

1#992BED
2#9836E3
3#9641D8
4#954CCD
5#9356C2
6#9261B7
7#916CAD
8#8F77A2
9#8E8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F8F0
#F8F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EFDC
#EFDCFE
Light backgroundsTable row hoverSkeleton loading
200
E2BF
#E2BFFD
Secondary backgroundsInput backgroundsDividers
300
CC8D
#CC8DFB
BordersInactive statesPlaceholder text
400
B152
#B152FA
Disabled statesSecondary iconsMuted text
500
9B20
#9B20F8
Primary brand colorCTAsActive elementsLinks
600
7E07
#7E07DA
Hover statesFocus ringsPrimary buttons hover
700
6405
#6405AD
Active/pressed statesDark mode accentsSecondary text
800
4804
#48047C
Text on light backgroundsHeadingsStrong borders
900
2E02
#2E024F
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: #F8F0FF;
  --magenta-100: #EFDCFE;
  --magenta-200: #E2BFFD;
  --magenta-300: #CC8DFB;
  --magenta-400: #B152FA;
  --magenta-500: #9B20F8;
  --magenta-600: #7E07DA;
  --magenta-700: #6405AD;
  --magenta-800: #48047C;
  --magenta-900: #2E024F;
  --magenta-950: #1D0231;
}
Generate More ShadesCreate PaletteConvert Color